/* =====================================================================
   La Lupa Amarilla · Estilo v6 (crema, azul marino y amarillo)
   Se carga después de lupa.css y lo sobreescribe.
   ===================================================================== */
@font-face{ font-family:'Anton'; src:url(../fonts/anton.woff2) format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Caveat'; src:url(../fonts/caveat.woff2) format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
:root{
  --yellow:#FFD91A; --yellow-pale:#FFF4C9; --yellow-soft:#FFF0A3; --cream:#FFFDF2;
  --navy:#10202A; --ink:#101010; --red:#D92B1F; --gray:#6C7074; --line:#ECE8DB;
  --shadow:0 2px 10px rgba(16,32,42,.08); --shadow-lg:0 10px 28px rgba(16,32,42,.14);
  --r:12px; --rs:9px;
  --sans:Arial,Helvetica,sans-serif;
  --display:'Anton',Impact,'Arial Black',sans-serif;
  --body:var(--sans);
}
body{ background:var(--cream); font-family:var(--sans); color:var(--ink); font-size:15px; }
.ico{ width:18px; height:18px; flex-shrink:0; }
.rule{ display:none; }

/* ---------- Barra superior ---------- */
.topbar{ background:var(--navy); color:var(--yellow); font-size:13.5px; font-weight:700; }
.topbar .wrap{ min-height:38px; }
.topbar nav{ gap:22px; }
.topbar nav a{ color:var(--yellow); }
.topbar nav a[aria-current]{ border-bottom:2px solid var(--yellow); }
.topright{ gap:18px; }
.topright a,.topright span{ color:var(--yellow); display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
.topright svg{ width:15px; height:15px; }
.topright a svg[viewBox] path{ }
.topright a:last-of-type svg{ fill:currentColor; }

/* ---------- Cabecera ---------- */
header.siteHead{ border-bottom:0; background:transparent; }
.heroRow{ display:grid; grid-template-columns:.9fr 1.35fr; gap:28px; align-items:center; padding:14px 20px 12px; }
.siteHead:not(.isHome) .heroRow{ grid-template-columns:auto 1fr; padding-top:10px; padding-bottom:10px; }
.brandBox{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); background:#FFFBEA; border-radius:12px; padding:12px 16px 10px 22px; max-width:440px; }
.siteHead:not(.isHome) .brandBox{ padding:6px 12px 6px 14px; background:transparent; }
.bText{ display:flex; flex-direction:column; align-items:stretch; width:max-content; }
.b1{ font-family:var(--display); font-size:58px; line-height:.95; letter-spacing:.005em; color:#0d0d0d; }
.b2{ background:var(--yellow); font-family:'Arial Black',Arial,sans-serif; font-weight:900; font-size:21px; letter-spacing:.32em; text-align:center; padding:2px 0 1px .32em; margin-top:2px; }
.b3{ background:var(--red); color:#fff; font-family:'Arial Black',Arial,sans-serif; font-weight:900; font-size:14px; letter-spacing:.14em; text-align:center; border-radius:4px; padding:3px 0 2px .14em; margin:6px 10px 0; }
.bLupin{ width:128px; flex-shrink:0; margin:-8px -6px -10px 0; }
.bLupin img{ width:100%; height:auto; display:block; }
.siteHead:not(.isHome) .b1{ font-size:40px; }
.siteHead:not(.isHome) .b2{ font-size:14.5px; }
.siteHead:not(.isHome) .b3{ font-size:10px; margin-top:4px; }
.siteHead:not(.isHome) .bLupin{ width:84px; }

.heroArt{ position:relative; background:#FDFAEB; border-radius:14px; overflow:hidden; min-height:160px; display:flex; align-items:center; }
.heroArt .skyline{ position:absolute; right:0; bottom:0; height:100%; width:auto; max-width:60%; object-fit:cover; object-position:left bottom; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%); mask-image:linear-gradient(90deg,transparent 0,#000 16%); }
.heroScript{ position:relative; z-index:1; margin:0; padding:14px 0 14px 22px; font-family:'Caveat','Comic Sans MS',cursive; font-weight:700; font-size:38px; line-height:.98; color:#111; transform:rotate(-5deg); max-width:44%; transform-origin:left center; }
.heroScript span{ display:inline-block; background:linear-gradient(transparent 70%, rgba(255,217,26,.75) 70% 92%, transparent 92%); padding-right:6px; }

.headRight{ justify-content:flex-end; }
.mainnav a{ font-family:var(--sans); font-weight:700; text-transform:none; font-size:14.5px; border:0; border-radius:8px; padding:8px 11px; color:var(--navy); }
.mainnav a:hover{ background:var(--yellow-pale); border:0; }
.mainnav a[aria-current]{ background:var(--navy); color:var(--yellow); }
.pubBtn{ background:var(--yellow); color:var(--navy); border:0; border-radius:var(--rs); box-shadow:none; font-family:var(--sans); font-weight:800; font-size:15px; text-transform:none; letter-spacing:0; padding:11px 18px; }
.pubBtn:hover{ background:#FFE45A; transform:none; box-shadow:var(--shadow); }

/* ---------- Búsqueda ---------- */
.searchBlock{ padding:4px 0 4px; }
.searchPanel{ background:var(--yellow-pale); border-radius:13px; padding:18px 20px; display:grid; grid-template-columns:1.25fr 1fr 1fr 170px; gap:12px; }
.searchPanel .field{ height:50px; background:#fff; border:1px solid #EEE7D2; border-radius:8px; display:flex; align-items:center; gap:10px; padding:0 14px; color:#333; }
.searchPanel .field .ico{ width:20px; height:20px; }
.searchPanel input,.searchPanel select{ border:0; outline:0; background:transparent; width:100%; font-size:16px; color:#222; min-width:0; font-family:var(--sans); }
.searchPanel select{ appearance:none; -webkit-appearance:none; cursor:pointer; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 14px; padding-right:20px; }
.searchPanel .field:focus-within{ border-color:var(--navy); box-shadow:0 0 0 2px rgba(16,32,42,.12); }
.searchPanel .go{ height:50px; border:0; border-radius:8px; background:var(--yellow); font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center; gap:8px; color:#111; font-family:var(--sans); }
.searchPanel .go .ico{ width:22px; height:22px; stroke-width:2.6; }
.searchPanel .go:hover{ background:#FFE45A; }
.quick{ margin:10px 4px 0; font-size:13.5px; gap:8px; }
.quick span{ color:var(--gray); font-weight:700; }
.quick a{ border:1px solid var(--line); background:#fff; font-weight:700; color:#222; padding:5px 12px; }
.quick a:hover{ background:var(--navy); color:var(--yellow); border-color:var(--navy); }

/* ---------- Categorías en círculo ---------- */
.catsBlock{ padding:16px 0 6px !important; }
.catCircles{ display:grid; grid-template-columns:repeat(10,1fr); gap:10px; }
.cc{ display:flex; flex-direction:column; align-items:center; gap:8px; text-decoration:none; color:var(--ink); text-align:center; padding:4px 2px; border-radius:10px; }
.cc .ic{ width:58px; height:58px; border-radius:50%; background:var(--yellow-soft); display:grid; place-items:center; color:#1b1b1b; transition:background .15s, transform .15s; }
.cc .ic svg{ width:30px; height:30px; }
.cc b{ font-size:13px; font-weight:700; line-height:1.15; }
.cc:hover .ic{ background:var(--yellow); transform:translateY(-2px); }
.cc[aria-current] .ic{ background:var(--yellow); outline:3px solid var(--navy); outline-offset:2px; }
.cc[aria-current] b{ font-weight:900; }

/* ---------- Secciones ---------- */
section.block{ padding:14px 0 18px; }
.sectionHead{ border:0; padding:0; margin:0 0 14px; align-items:center; }
.sectionHead h2{ font-family:var(--display); font-weight:400; text-transform:none; font-size:34px; letter-spacing:0; line-height:1.05; color:var(--ink); }
.sectionHead .sub{ color:var(--gray); font-weight:700; font-size:13px; }
.linkBtn{ background:var(--yellow); text-decoration:none; padding:10px 18px; border-radius:9px; font-weight:800; font-size:15px; color:var(--ink); white-space:nowrap; }
.linkBtn:hover{ background:#FFE45A; }

/* ---------- Tarjetas ---------- */
.rail{ grid-auto-columns:calc((100% - 72px)/5); gap:18px; padding:4px 2px 12px; }
.card{ border:1px solid var(--line); border-radius:11px; box-shadow:0 1px 0 rgba(0,0,0,.03); background:#fff; }
.card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.thumb{ aspect-ratio:auto; height:130px; border-bottom:0; background:var(--yellow-pale); }
.thumb.noPhoto{ background:var(--yellow-pale); color:#2a2a2a; }
.thumb svg.big{ width:54px; height:54px; }
.ribbon{ top:9px; left:10px; bottom:auto; border-radius:7px; background:var(--yellow); color:#111; font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:0; padding:6px 9px; }
.ribbon.soft{ background:#fff; color:var(--navy); font-weight:800; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.fav{ border:0; background:#fff; width:32px; height:32px; box-shadow:0 1px 4px rgba(0,0,0,.18); top:9px; right:9px; }
.fav svg{ stroke:#111; }
.fav.saved{ background:var(--red); }
.cardBody{ padding:10px 14px 12px; gap:4px; }
.cardBody .price,.price{ color:var(--ink); font-family:var(--sans); font-weight:900; font-size:19px; line-height:1.1; }
.cardBody h3{ font-family:var(--sans); text-transform:none; font-weight:500; font-size:15px; line-height:1.18; }
.metaLine{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:#7B7F83; font-weight:400; }
.metaLine .ico{ width:15px; height:15px; opacity:.85; }
.metaRow{ border-top:0; padding-top:4px; font-weight:400; }
.vbadge{ border:1.5px solid var(--navy); color:var(--navy); background:#FFFDF1; font-size:9px; font-weight:900; margin:4px 0 2px; box-shadow:0 2px 5px rgba(16,35,63,.12); }
.vbadge i{ border-color:var(--navy); background:var(--yellow); }
.wa{ background:var(--navy); color:var(--yellow); padding:7px 12px; }
.wa:hover{ background:#000; }
.arrow{ background:#fff; color:#111; border:1px solid #ddd; box-shadow:0 1px 4px rgba(0,0,0,.08); font-family:var(--sans); top:28%; }
.arrow.left{ left:-22px; } .arrow.right{ right:-22px; }

/* ---------- Cerca de ti ---------- */
.near .wrap{ background:var(--navy); border-radius:12px; padding:18px 24px; overflow:visible; }
.near h3{ font-family:var(--sans); font-weight:900; font-size:27px; color:var(--yellow); text-transform:uppercase; }
.near small{ color:#E8E3CF; }
.nearLupin{ width:86px; margin:-30px -4px -18px -6px; }
.pill{ border:3px solid var(--yellow); color:var(--yellow); font-family:var(--sans); font-weight:800; font-size:17px; padding:8px 20px; text-decoration:none; }
.pill.on,.pill:hover{ background:var(--yellow); color:var(--navy); }

/* ---------- Página de clasificados ---------- */
div.page{ border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); background:#fff; }
.pageTop{ background:var(--navy); color:var(--yellow); padding:11px 14px; }
.pageTop b{ font-family:var(--sans); font-weight:900; font-size:18px; letter-spacing:.06em; }
.pageTop label{ color:var(--yellow); font-size:15px; display:flex; align-items:center; gap:6px; }
.sortForm select,.pageTop select{ border-radius:3px; font-size:15px; font-weight:800; padding:5px 10px; font-family:var(--sans); }
.chips{ background:var(--yellow-pale); border-bottom:1px solid var(--line); padding:11px 14px; }
.chip{ border:1px solid #E4D99F; background:#fff; font-size:13.5px; padding:5px 12px; text-decoration:none; color:#222; }
.chip[aria-pressed="true"],.chip:hover{ background:var(--navy); color:var(--yellow); border-color:var(--navy); }
.columns{ column-rule:1px solid var(--line); }
.entry{ border-bottom:1px solid var(--line); padding:12px 16px; grid-template-columns:54px 1fr auto; }
.entry:hover{ background:#FFFCEF; }
.entry.top{ background:#FFFBEA; border-left:6px solid var(--yellow); }
.entry .mini{ border:0; background:var(--yellow-soft); border-radius:10px; color:#222; }
.entry .mini svg{ width:28px; height:28px; }
.entry .mini.photo{ background:#eee; }
.entry h4{ font-family:var(--sans); text-transform:none; font-weight:800; font-size:15px; line-height:1.2; }
.entry p{ font-size:13.5px; color:#2c2c2c; line-height:1.35; }
.entry .eprice{ color:var(--ink); font-family:var(--sans); font-weight:900; font-size:18px; }
.entry .ewhen{ color:var(--gray); }
.badge{ border-radius:4px; font-size:11px; padding:2px 6px; border:1px solid #222; }
.badge.es{ background:var(--navy); color:var(--yellow); border-color:var(--navy); }
.badge.ver{ background:var(--yellow); color:var(--navy); border-color:var(--navy); }
.badge.cond{ background:var(--yellow); border-color:var(--navy); }
.pageFoot{ border-top:1px solid var(--line); padding:10px 14px; }
.pageFoot a{ color:var(--navy); font-weight:800; }
.empty h3{ font-family:var(--sans); font-weight:900; text-transform:none; }
.empty .lupin{ width:150px; flex-shrink:0; }

/* ---------- Beneficios ---------- */
.features{ gap:22px; }
.feat{ background:#FFF1B8; border:0; box-shadow:none; border-radius:12px; min-height:110px; padding:14px 18px 14px 12px; }
.feat .fiL{ width:92px; margin:-8px 0 -8px; }
.feat h3{ font-family:var(--sans); text-transform:none; font-size:18px; font-weight:800; margin-bottom:4px; }
.feat p{ font-size:14px; }
.feat .btn{ background:var(--yellow); border:0; font-weight:800; color:var(--ink); }
.feat .btn:hover{ background:#FFE45A; box-shadow:none; }

/* ---------- Botones, formularios y fichas ---------- */
.btn{ border:1px solid #d8d2bb; border-radius:9px; font-family:var(--sans); }
.btn:hover{ box-shadow:var(--shadow); transform:none; }
.btn.red{ background:var(--red); border-color:var(--red); color:#fff; }
.btn.black{ background:var(--navy); border-color:var(--navy); color:var(--yellow); }
.btn.yellow{ background:var(--yellow); border-color:var(--yellow); }
.sheet{ border:1px solid var(--line); box-shadow:var(--shadow-lg); border-radius:14px; }
.sheetHead{ background:var(--navy); color:#fff; border-bottom:0; }
.sheetHead h2,.adPage .sheetHead h1{ color:var(--yellow); font-family:var(--sans); text-transform:none; font-weight:900; }
.eyebrow{ font-family:var(--sans); color:#E8E3CF; }
.close{ background:var(--yellow); color:var(--navy); }
.detail > div + div,.detail > aside{ border-left:1px solid var(--line); }
.seller{ border:1px solid var(--line); background:var(--yellow-pale); }
.priceBig{ color:var(--ink); font-family:var(--sans); font-weight:900; font-size:38px; }
.stats span{ border:1px solid var(--line); border-radius:999px; background:#fff; padding:4px 10px; }
.h4{ border-bottom:1px solid var(--line); font-family:var(--sans); font-weight:900; }
.bigThumb{ border:0; }
.gallery .thumbs button{ border:1px solid var(--line); }
.safety{ border:1px dashed #d8cf9e; background:#FFFCEF; }
.report{ border:1px solid var(--line); }
.report select{ border:1px solid #d8d2bb; }
.avatar{ background:var(--navy); color:var(--yellow); font-family:var(--sans); }
.fav--big{ background:var(--yellow); }
.crumbs{ color:var(--gray); } .crumbs a{ color:var(--navy); }
.pubCat{ border:1px solid var(--line); }
.pubCat .ic{ border:0; background:var(--yellow-soft); color:#222; }
.pubCat .ic svg{ width:26px; height:26px; }
.pubCat b{ font-family:var(--sans); text-transform:none; font-weight:800; }
.pubCat:hover,.pubCat:has(input:checked){ background:var(--yellow-pale); box-shadow:var(--shadow); transform:none; border-color:var(--navy); }
.hello{ background:var(--navy); color:var(--yellow); }
.form input,.form select,.form textarea{ border:1px solid #d8d2bb; }
.form input:focus,.form select:focus,.form textarea:focus{ border-color:var(--navy); outline:2px solid rgba(16,32,42,.15); }
.steps span{ border:0; background:#ECE6CF; }
.steps span.on{ background:var(--yellow); }
.pubTitle,.pageTitle,.lupaDone h2,.lupaBox h3{ font-family:var(--display); font-weight:400; text-transform:none; letter-spacing:0; }
.lupaPublish,.lupaBox,.lupaDone{ border:1px solid var(--line); box-shadow:var(--shadow); }
.pubNav{ border-top:1px solid var(--line); background:var(--yellow-pale); }
.lupaAlert{ border:1px solid var(--red); }
.lupaAlert.ok{ border-color:var(--line); }
.myAd{ border:1px solid var(--line); }
.lupaBox input[type=text],.lupaBox input[type=password],.lupaBox input[type=email]{ border:1px solid #d8d2bb; }
.lupaBox input[type=submit]{ border:0; background:var(--navy); color:var(--yellow); }
.nav-links a,.nav-links span{ border:1px solid var(--line); }
.nav-links .current{ background:var(--navy); color:var(--yellow); border-color:var(--navy); }

/* ---------- Encabezado de listados ---------- */
.archHead{ padding:6px 0 0; }
.archTitle{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:10px; }
.archTitle h1{ font-family:var(--display); font-weight:400; font-size:clamp(30px,4vw,44px); line-height:1.02; margin:2px 0 0; }
.archLupin{ width:120px; margin-bottom:-18px; position:relative; z-index:1; }

/* ---------- Pie ---------- */
.siteFoot{ background:var(--navy); color:#E8E3CF; }
.footBrand b{ font-family:var(--sans); font-weight:900; color:var(--yellow); font-size:22px; letter-spacing:.03em; }
.footLinks a,.footLinks li a{ color:var(--yellow); font-weight:700; }
.footLinks a:hover{ text-decoration:underline; }
.footCopy{ border-top:1px solid rgba(255,255,255,.12); color:#B9B6A8; }

/* ---------- Chat de Lupín ---------- */
.lchat-toggle{ border:3px solid var(--navy); box-shadow:0 8px 22px rgba(16,32,42,.22); padding:3px; background:var(--yellow); }
.lchat-toggle:hover{ box-shadow:0 10px 26px rgba(16,32,42,.3); }
.lchat-dot{ border-color:var(--cream); }
.lchat-label{ background:#fff; color:var(--navy); border:1.5px solid var(--navy); font-family:var(--sans); text-transform:none; font-size:13px; font-weight:800; }
.lchat-label::after{ border-top-color:var(--navy); }
.lchat-panel{ border:1.5px solid var(--navy); box-shadow:0 12px 35px rgba(16,32,42,.2); }
.lchat-head{ background:var(--navy); }
.lchat-head b{ font-family:var(--sans); text-transform:none; font-size:15px; }
.lchat-head .mini{ border:2px solid var(--yellow); overflow:hidden; }
.lchat-log{ background:var(--cream); }
.msg{ border:1px solid var(--line); }
.msg.me{ background:var(--yellow); border-color:var(--yellow); }
.opts a,.opts button,.mres a,.mres button{ border:1px solid #E4D99F; color:var(--navy); }
.mres .mi{ border:0; background:var(--yellow-soft); }
.mres .mi svg{ width:24px; height:24px; }
.botRow .av{ border:1px solid var(--navy); }
.lchat-form{ border-top:1px solid var(--line); }
.lchat-form input{ border:1px solid #d8d2bb; }
.lchat-form button{ border:0; background:var(--navy); color:var(--yellow); }
.bottomNav{ background:var(--navy); border-top:3px solid var(--yellow); }
.bottomNav .plus{ background:var(--yellow); color:var(--navy); border-color:var(--navy); font-family:var(--sans); font-weight:900; }
.toast{ background:var(--navy); border-color:var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width:1240px){ .mainnav{ display:flex; } .mainnav a:nth-child(n+4){ display:none; } }
@media (max-width:1100px){
  .heroRow{ grid-template-columns:1fr 1.1fr; }
  .heroScript{ font-size:32px; }
  .catCircles{ grid-template-columns:repeat(5,1fr); row-gap:14px; }
  .rail{ grid-auto-columns:calc((100% - 36px)/3); }
  .searchPanel{ grid-template-columns:1fr 1fr; }
}
@media (max-width:900px){ .mainnav{ display:none; } }
@media (max-width:720px){
  .topbar{ display:block; }
  .topbar .wrap{ min-height:36px; flex-wrap:nowrap; }
  .topbar nav{ gap:14px; } .topbar nav a:nth-child(n+3){ display:none; }
  .topright .cities,.topright .lang{ display:none; }
  .topright{ gap:12px; }
  .heroRow,.siteHead:not(.isHome) .heroRow{ grid-template-columns:1fr; gap:8px; padding-top:8px; padding-bottom:6px; }
  .siteHead:not(.isHome) .heroRow{ grid-template-columns:1fr auto; }
  .brandBox{ max-width:none; justify-content:center; padding:8px 10px 6px 14px; }
  .b1{ font-size:44px; } .b2{ font-size:16px; } .b3{ font-size:11px; }
  .bLupin{ width:96px; }
  .siteHead:not(.isHome) .brandBox{ justify-content:flex-start; padding:4px 0; }
  .siteHead:not(.isHome) .b1{ font-size:30px; } .siteHead:not(.isHome) .b2{ font-size:11px; } .siteHead:not(.isHome) .b3{ font-size:8px; margin:3px 6px 0; }
  .siteHead:not(.isHome) .bLupin{ width:60px; }
  .pubBtn{ font-size:13px; padding:9px 12px; }
  .heroArt{ min-height:118px; }
  .heroScript{ font-size:27px; padding-left:14px; }
  .heroArt .skyline{ max-width:62%; }
  .searchPanel{ grid-template-columns:1fr; padding:12px; gap:8px; }
  .catCircles{ display:flex; overflow-x:auto; gap:12px; padding-bottom:8px; scrollbar-width:none; }
  .catCircles::-webkit-scrollbar{ display:none; }
  .cc{ flex:0 0 76px; }
  .cc .ic{ width:54px; height:54px; }
  .cc b{ font-size:12px; }
  .rail{ grid-auto-columns:74%; }
  .sectionHead h2{ font-size:27px; }
  .linkBtn{ font-size:12px; padding:8px 11px; }
  .near .wrap{ margin:0 16px; padding:16px; }
  .near h3{ font-size:22px; }
  .pill{ font-size:14px; padding:6px 14px; border-width:2px; }
  .entry{ grid-template-columns:44px 1fr; }
  .feat .fiL{ width:76px; }
  .archLupin{ width:84px; }
  .detail > aside{ border-left:0; border-top:1px solid var(--line); }
}

/* ---------- Ajustes finos ---------- */
.siteFoot .footGrid{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:26px; align-items:center; padding-top:26px; padding-bottom:18px; }
.siteFoot .footBrand{ display:flex; gap:14px; align-items:center; }
.siteFoot .footSoon{ justify-content:flex-end; }
.siteFoot .footCopy{ display:block; }
@media (max-width:900px){ .siteFoot .footGrid{ grid-template-columns:1fr; } .siteFoot .footSoon{ justify-content:flex-start; } }
@media (max-width:720px){
  .heroScript{ font-size:25px; max-width:none; white-space:nowrap; padding:10px 0 10px 14px; }
  .heroArt .skyline{ max-width:52%; }
  .sectionHead{ flex-wrap:wrap; row-gap:8px; }
  .sectionHead h2{ font-size:26px; }
}
@media (max-width:380px){ .heroScript{ font-size:22px; } }

/* ---------- Alertas de búsqueda ---------- */
.alertBox{ display:flex; gap:18px; align-items:center; background:var(--navy); color:#fff; border-radius:14px; padding:18px 22px; margin-top:22px; scroll-margin-top:90px; }
.alertBoxLupin{ width:104px; flex-shrink:0; margin:-18px 0 -10px; }
.alertBody{ flex:1; min-width:0; }
.alertBody > b{ display:block; color:var(--yellow); font-size:20px; font-weight:900; }
.alertBody p{ margin:4px 0 10px; color:#EDEAD9; font-size:15px; }
.alertBody strong{ color:#fff; }
.alertBody small{ color:#B9B6A8; font-size:12px; }
.alertForm{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
.alertForm input[type=email]{ flex:1; min-width:220px; height:46px; border:0; border-radius:9px; padding:0 14px; font-size:16px; color:#111; }
.alertForm .btn{ height:46px; background:var(--yellow); color:var(--navy); border:0; font-weight:900; font-size:16px; padding:0 20px; cursor:pointer; }
.alertForm .btn:hover{ background:#FFE45A; }
.alertMsg{ border-radius:8px; padding:8px 12px; font-weight:700; }
.alertMsg.ok{ background:#E6F6E9; color:#14532D !important; }
.alertMsg.err{ background:#FDE8E6; color:#8A1C12 !important; }
.hp{ position:absolute; left:-9999px; }
@media (max-width:720px){ .alertBox{ flex-direction:column; text-align:center; padding:16px; } .alertBoxLupin{ width:84px; margin:-6px 0 0; } .alertForm input[type=email]{ min-width:0; width:100%; } .alertForm .btn{ width:100%; } }

/* =====================================================================
   Publicar en 5 pasos · Fotos · Mi cuenta · Perfil · Anunciante
   ===================================================================== */
[hidden]{ display:none !important; }
.btn.ghost{ background:transparent; border-color:transparent; color:var(--gray); }
.btn.ghost:hover{ color:var(--red); box-shadow:none; }
.btn.big{ height:48px; padding:0 22px; font-size:16px; justify-content:center; }
.btn.black{ font-weight:800; }
.small{ font-size:13px; color:var(--gray); }
.counter{ display:block; text-align:right; font-size:11.5px; color:var(--gray); font-weight:400; margin-top:-2px; }
.counter.near{ color:var(--red); }
.form label > small.hint{ font-weight:400; color:#5b5f63; font-size:12.5px; }
.form.one{ grid-template-columns:1fr; padding:0; }

/* Stepper */
.stepper{ list-style:none; margin:0; padding:16px 18px 6px; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; counter-reset:none; }
.stepper li{ display:flex; flex-direction:column; align-items:center; gap:5px; position:relative; cursor:pointer; color:var(--gray); font-size:12.5px; }
.stepper li::before{ content:""; position:absolute; top:15px; left:calc(-50% + 18px); right:calc(50% + 18px); height:3px; background:#ECE6CF; border-radius:3px; }
.stepper li:first-child::before{ display:none; }
.stepper li span{ width:32px; height:32px; border-radius:50%; background:#ECE6CF; color:#6a6a6a; font-weight:900; display:grid; place-items:center; position:relative; z-index:1; }
.stepper li b{ font-weight:700; }
.stepper li.past span{ background:var(--navy); color:var(--yellow); }
.stepper li.past::before, .stepper li.on::before{ background:var(--yellow); }
.stepper li.on span{ background:var(--yellow); color:var(--navy); box-shadow:0 0 0 4px rgba(255,217,26,.35); }
.stepper li.on{ color:var(--ink); }
.pubTitle small{ font-family:var(--sans); font-size:15px; color:var(--gray); }
.pubNav{ align-items:center; }
.pubNavInfo{ font-size:13px; color:var(--gray); font-weight:700; }
.lupaPublish .steps{ display:none; }
.perfilMini{ display:flex; gap:12px; align-items:center; margin:12px 18px 0; padding:10px 12px; background:var(--yellow-pale); border-radius:10px; }
.perfilMini small{ display:block; color:var(--gray); }
.crearCuenta{ background:#F4F8FF; border:1px solid #D6E2F5; border-radius:10px; padding:12px; display:grid; gap:10px; }

/* Fotos */
.fotosBox{ padding:14px 18px 6px; }
.dropZone{ position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; border:2px dashed #D9CF9C; border-radius:14px; background:#FFFCEB; padding:20px 16px; cursor:pointer; transition:.15s; }
.dropZone:hover, .dropZone.over{ border-color:var(--navy); background:var(--yellow-pale); }
.dropZone.full{ display:none; }
.dropZone input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.dropZone b{ font-size:16px; }
.dropZone small{ color:var(--gray); }
.dropLupin{ width:84px; }
.fotosList{ list-style:none; margin:14px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:10px; }
.fotosList li{ position:relative; aspect-ratio:4/3; border-radius:10px; overflow:hidden; background:#eee; border:2px solid transparent; }
.fotosList li.cover{ border-color:var(--yellow); }
.fotosList img{ width:100%; height:100%; object-fit:cover; display:block; }
.fotosList .coverTag{ display:none; position:absolute; top:6px; left:6px; background:var(--yellow); color:var(--navy); font-size:11px; font-weight:900; padding:3px 7px; border-radius:6px; }
.fotosList li.cover .coverTag{ display:block; }
.fTools{ position:absolute; left:0; right:0; bottom:0; display:flex; justify-content:space-between; gap:2px; padding:5px; background:linear-gradient(transparent,rgba(0,0,0,.6)); }
.fTools button{ width:28px; height:28px; border-radius:50%; border:0; background:rgba(255,255,255,.92); font-weight:900; font-size:14px; line-height:1; color:#111; padding:0; }
.fTools button[data-rm]{ background:#fff; color:var(--red); }
.fTools button:hover{ background:var(--yellow); }
.fotosCount{ margin:10px 0 4px; }
.nfot{ position:absolute; right:10px; bottom:10px; z-index:1; background:rgba(16,32,42,.82); color:#fff; font-size:11.5px; font-weight:800; padding:3px 8px; border-radius:999px; }
.pvDesc{ margin-top:10px; background:#fff; border:1px solid var(--line); border-radius:10px; padding:10px 12px; font-size:13.5px; }
.pvDesc p{ margin:6px 0 0; color:#333; }
.previewSide{ display:grid; gap:10px; align-content:start; }
.previewSide p{ margin:0; }
.actions.center{ justify-content:center; }

/* Acceso */
.accesoWrap{ display:grid; grid-template-columns:1fr 1.05fr; gap:22px; align-items:stretch; }
.accesoSide{ background:var(--navy); color:#fff; border-radius:16px; padding:24px 26px; }
.accesoSide h2{ color:var(--yellow); font-family:var(--display); font-weight:400; font-size:34px; margin:6px 0 10px; }
.accesoLupin{ width:120px; }
.beneficios{ list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:15.5px; color:#EDEAD9; }
.accesoBox{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 24px; box-shadow:var(--shadow); }
.accesoTabs{ display:grid; grid-template-columns:1fr 1fr; background:#F3EFDF; border-radius:12px; padding:4px; margin-bottom:16px; }
.accesoTabs a{ text-align:center; padding:10px; border-radius:9px; text-decoration:none; font-weight:800; color:#555; }
.accesoTabs a[aria-selected]{ background:#fff; color:var(--navy); box-shadow:0 1px 4px rgba(0,0,0,.08); }
.formErr{ background:#FDE8E6; color:#8A1C12; border-radius:8px; padding:9px 12px; font-weight:700; }
.sinCuenta{ border-top:1px solid var(--line); padding-top:12px; margin-top:16px; }
.tipoCuenta{ border:0; padding:0; margin:0 0 4px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tipoCuenta legend{ font-weight:700; font-size:14px; margin-bottom:6px; }
.tipoCuenta label{ position:relative; cursor:pointer; }
.tipoCuenta input{ position:absolute; opacity:0; }
.tipoCuenta span{ display:block; border:1.5px solid #E2DCC4; border-radius:10px; padding:10px 12px; }
.tipoCuenta small{ display:block; color:var(--gray); font-size:12px; }
.tipoCuenta input:checked + span{ border-color:var(--navy); background:var(--yellow-pale); box-shadow:inset 0 0 0 1px var(--navy); }
.tipoCuenta input:focus-visible + span{ outline:3px solid var(--red); }

/* Panel */
.lupaAvatar{ border-radius:50%; object-fit:cover; background:var(--yellow-soft); flex-shrink:0; display:inline-block; }
.lupaAvatar.isLetter{ display:inline-grid; place-items:center; background:var(--navy); color:var(--yellow); font-weight:900; font-size:1.6em; }
.lupaAvatar.xs{ width:22px; height:22px; font-size:11px; }
.meLink{ gap:7px !important; }
.cuentaHead{ display:flex; justify-content:space-between; gap:18px; align-items:center; flex-wrap:wrap; background:var(--navy); color:#fff; border-radius:16px; padding:18px 22px; }
.cuentaId{ display:flex; gap:16px; align-items:center; min-width:0; }
.cuentaId .lupaAvatar{ width:84px; height:84px; border:3px solid var(--yellow); }
.cuentaId h2{ margin:0; color:var(--yellow); font-size:26px; font-weight:900; }
.cuentaId p{ margin:3px 0 6px; color:#D9D5C3; font-size:14px; }
.vSeal{ display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--yellow); color:var(--navy); font-size:13px; vertical-align:middle; }
.cuentaActs{ display:flex; gap:8px; flex-wrap:wrap; }
.cuentaActs .btn{ background:#fff; border-color:#fff; color:var(--navy); }
.cuentaActs .btn.yellow{ background:var(--yellow); border-color:var(--yellow); }
.cuentaActs .btn.ghost{ background:transparent; color:#D9D5C3; border-color:transparent; }
.cuentaTabs{ display:flex; gap:4px; border-bottom:2px solid var(--line); margin:16px 0 18px; overflow-x:auto; scrollbar-width:none; }
.cuentaTabs a{ padding:11px 16px; text-decoration:none; font-weight:800; color:#666; border-bottom:3px solid transparent; margin-bottom:-2px; white-space:nowrap; }
.cuentaTabs a[aria-current]{ color:var(--navy); border-color:var(--yellow); }
.cuentaTabs span{ background:#EEE9D6; color:#555; border-radius:999px; font-size:12px; padding:1px 8px; margin-left:4px; }
.cuentaTabs span.warn{ background:#FFE8A3; color:#7A5600; }
.statGrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }
.stat{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; text-decoration:none; color:var(--ink); }
.stat b{ display:block; font-size:30px; font-weight:900; line-height:1; }
.stat span{ color:var(--gray); font-size:13.5px; font-weight:700; }
a.stat:hover{ border-color:var(--navy); }
.perfilTip{ display:flex; gap:16px; align-items:center; background:#FFF6CC; border-radius:14px; padding:14px 18px; margin-bottom:18px; }
.tipLupin{ width:90px; flex-shrink:0; }
.perfilTip .bar{ height:9px; background:#fff; border-radius:9px; overflow:hidden; margin:6px 0; max-width:420px; }
.perfilTip .bar i{ display:block; height:100%; background:var(--navy); border-radius:9px; }
.perfilTip p{ margin:4px 0 10px; }
.cuentaH3{ font-size:19px; font-weight:900; margin:6px 0 10px; }
.filtroAds{ background:transparent; border:0; padding:0 0 12px; }
.myAds2{ display:grid; gap:10px; margin-bottom:16px; }
.myAd2{ display:grid; grid-template-columns:110px 1fr auto; gap:14px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; }
.maThumb{ position:relative; width:110px; aspect-ratio:4/3; border-radius:9px; overflow:hidden; background:var(--yellow-soft); display:grid; place-items:center; }
.maThumb img{ width:100%; height:100%; object-fit:cover; }
.maThumb svg{ width:34px; height:34px; }
.maThumb .nfot{ right:5px; bottom:5px; font-size:10.5px; }
.maBody h4{ margin:3px 0 2px; font-size:16px; font-weight:800; }
.maMeta, .maStats{ margin:0; font-size:13px; color:#555; }
.maStats{ color:var(--gray); margin-top:3px; }
.maStats .soon{ color:var(--red); font-weight:800; }
.estado{ display:inline-block; font-size:11px; font-weight:900; padding:2px 8px; border-radius:999px; }
.estado.on{ background:#E1F5E5; color:#14532D; }
.estado.wait{ background:#FFF0C2; color:#7A5600; }
.estado.off{ background:#EEE; color:#555; }
.maActs{ display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; max-width:290px; }
.maActs form{ margin:0; }
.maActs .btn{ padding:7px 12px; font-size:13px; }
.emptyAds{ display:flex; gap:16px; align-items:center; background:#fff; border:1px dashed #D9CF9C; border-radius:14px; padding:18px; }
.emptyLupin{ width:110px; }
.emptyAds h3{ margin:0 0 4px; }

/* Formulario de perfil */
.perfilForm{ display:grid; gap:14px; }
.pfSec{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px; }
.pfSec > h3{ margin:0 0 10px; font-size:17px; font-weight:900; }
.pfSec .form{ padding:0; }
.pfClave summary{ font-weight:800; cursor:pointer; }
.pfClave .form{ margin-top:12px; }
.avatarEdit{ display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.avatarPrev .lupaAvatar{ width:120px; height:120px; font-size:46px; border:3px solid var(--yellow); }
.fileBtn{ position:relative; overflow:hidden; cursor:pointer; }
.fileBtn input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.redesForm label{ position:relative; }
.redesForm .ri{ display:inline-grid; place-items:center; width:22px; height:22px; margin-right:6px; vertical-align:-5px; color:var(--navy); }
.redesForm .ri svg{ width:18px; height:18px; }
.pfSave{ display:flex; gap:10px; align-items:center; position:sticky; bottom:12px; background:rgba(255,253,242,.94); padding:10px; border-radius:12px; box-shadow:0 4px 18px rgba(16,32,42,.12); z-index:5; }

/* Redes sociales */
.redes{ display:flex; gap:7px; flex-wrap:wrap; margin-top:6px; }
.soc{ width:32px; height:32px; border-radius:50%; display:inline-grid; place-items:center; background:var(--yellow); color:var(--navy); text-decoration:none; }
.soc svg{ width:17px; height:17px; }
.soc:hover{ background:#fff; box-shadow:0 0 0 2px var(--navy); }
.cuentaHead .soc{ width:28px; height:28px; }
.seller .redes{ margin-top:10px; }
.seller .soc{ background:#fff; box-shadow:0 0 0 1px var(--line); }
.sellerAv .lupaAvatar{ width:56px; height:56px; font-size:22px; }
.sellerTop b a{ color:inherit; text-decoration:none; }
.sellerTop b a:hover{ text-decoration:underline; }
.sellerMore{ display:inline-block; margin-top:10px; font-weight:800; color:var(--navy); }

/* Página del anunciante */
.anWrap{ padding-top:16px; }
.anHead{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; background:var(--navy); color:#fff; border-radius:16px; padding:22px 24px; margin:10px 0 16px; }
.anId{ display:flex; gap:18px; align-items:center; }
.anId .lupaAvatar{ width:120px; height:120px; font-size:46px; border:4px solid var(--yellow); }
.anId h1{ margin:2px 0 6px; color:var(--yellow); font-size:clamp(26px,4vw,38px); font-weight:900; line-height:1.05; }
.anMeta{ display:flex; gap:14px; flex-wrap:wrap; margin:0 0 6px; color:#D9D5C3; font-size:14px; }
.anContact{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.anContact .redes{ margin:0; }
.anAbout{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin-bottom:8px; }
.anAbout h2{ margin:0 0 6px; font-size:19px; font-weight:900; }
.anAbout p{ margin:6px 0; }

@media (max-width:900px){
  .accesoWrap{ grid-template-columns:1fr; }
  .statGrid{ grid-template-columns:1fr 1fr; }
  .myAd2{ grid-template-columns:90px 1fr; }
  .maThumb{ width:90px; }
  .maActs{ grid-column:1 / -1; justify-content:flex-start; max-width:none; }
}
@media (max-width:720px){
  .stepper{ padding:12px 10px 4px; }
  .stepper li b{ display:none; }
  .stepper li.on b{ display:block; font-size:11px; }
  .fotosList{ grid-template-columns:repeat(3,1fr); gap:6px; }
  .fTools button{ width:24px; height:24px; font-size:12px; }
  .cuentaHead, .anHead{ padding:16px; }
  .cuentaId .lupaAvatar{ width:64px; height:64px; }
  .cuentaId h2{ font-size:21px; }
  .anId{ flex-direction:column; align-items:flex-start; }
  .tipoCuenta{ grid-template-columns:1fr; }
  .pubNavInfo{ display:none; }
}
.anContact .btn:not(.red):not(.black){ background:#fff; color:var(--navy); border-color:#fff; }

/* ---------- País, compartir y ficha del negocio ---------- */
.flag{ width:24px; height:16px; border-radius:3px; box-shadow:0 0 0 1px rgba(0,0,0,.15); vertical-align:-2px; flex-shrink:0; }
.hFlag{ width:28px; height:19px; margin-left:4px; }
.sFlag{ width:20px; height:13px; margin-left:4px; }
.lupinPais{ position:relative; display:inline-block; }
.lupinPais .lupin{ width:100%; height:auto; display:block; }
.lupinPais .lpFlag{ position:absolute; right:-2%; top:4%; width:42%; height:auto; aspect-ratio:3/2; border-radius:4px; box-shadow:0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,.25); transform:rotate(8deg); }
.paisPick{ display:grid; grid-template-columns:170px 1fr; gap:18px; align-items:start; }
.paisPreview{ text-align:center; background:var(--yellow-pale); border-radius:14px; padding:12px; position:sticky; top:12px; }
.ppLupin{ width:130px; }
.paisPreview p{ margin:8px 0 0; font-weight:800; color:var(--navy); }
.paisGrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:8px; }
.paisOpt{ position:relative; display:flex; gap:8px; align-items:center; border:1.5px solid #E2DCC4; border-radius:10px; padding:8px 10px; cursor:pointer; font-size:14px; font-weight:700; background:#fff; }
.paisOpt input{ position:absolute; opacity:0; }
.paisOpt:has(input:checked){ border-color:var(--navy); background:var(--yellow-pale); box-shadow:inset 0 0 0 1px var(--navy); }
.paisOpt:focus-within{ outline:3px solid var(--red); outline-offset:1px; }
.paisOpt.none{ color:var(--gray); font-weight:600; }
.saludoCard{ display:flex; gap:18px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 18px; margin-bottom:16px; }
.scLupin{ width:120px; flex-shrink:0; }
.scBody{ min-width:0; flex:1; }
.scBody > b{ font-size:20px; font-weight:900; color:var(--navy); }
.scBody p{ margin:4px 0 8px; }
.linkRow code{ display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:#F4F1E4; border-radius:8px; padding:6px 10px; font-size:13.5px; }
.shareBox{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.shBtn{ display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 14px; border-radius:999px; border:1px solid #E2DCC4; background:#fff; font-weight:800; font-size:14px; color:var(--navy); text-decoration:none; cursor:pointer; font-family:var(--sans); }
.shBtn svg{ width:17px; height:17px; fill:currentColor; }
.shWa{ background:#25D366; border-color:#25D366; color:#fff; }
.shFb{ background:#1877F2; border-color:#1877F2; color:#fff; }
.shX{ background:#111; border-color:#111; color:#fff; }
.shBtn:hover{ filter:brightness(.95); }
.shTitle{ font-size:15px; font-weight:900; margin:16px 0 0; }
.anLupin{ width:120px; margin:-30px 0 -26px; }
.anPais{ display:inline-flex; align-items:center; gap:6px; }
.anGrid{ display:grid; grid-template-columns:1.3fr 1fr; gap:16px; margin-bottom:8px; }
.anGrid > :only-child{ grid-column:1 / -1; }
.anNeg{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 20px; }
.anNeg h2{ margin:0 0 8px; font-size:19px; font-weight:900; }
.anNeg dl{ display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0 0 12px; font-size:14.5px; }
.anNeg dt{ color:var(--gray); font-weight:700; }
.anNeg dd{ margin:0; font-weight:700; }
.anNegContact{ list-style:none; margin:0; padding:12px 0 0; border-top:1px solid var(--line); display:grid; gap:7px; font-size:14.5px; }
.anNegContact a{ color:var(--navy); font-weight:700; }
.negSec{ border-color:#E8D88A; background:#FFFDF2; }
@media (max-width:900px){ .anGrid{ grid-template-columns:1fr; } .paisPick{ grid-template-columns:1fr; } .paisPreview{ position:static; display:flex; gap:12px; align-items:center; text-align:left; } .ppLupin{ width:90px; } }
@media (max-width:720px){ .saludoCard{ flex-direction:column; text-align:center; } .shareBox{ justify-content:center; } .paisGrid{ grid-template-columns:1fr 1fr; } .anLupin{ display:none; } }

/* ---------- Mensajes ---------- */
.msgBadge{ display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--red); color:#fff; font-size:11px; font-weight:900; margin-left:4px; }
.cuentaTabs span.hot{ background:var(--red); color:#fff; }
.msgAlert{ display:block; background:#FFF0C2; border-radius:12px; padding:12px 16px; margin-bottom:14px; color:var(--navy); text-decoration:none; font-size:15px; }
.chatAviso{ background:var(--yellow-pale); border-radius:10px; padding:10px 12px; font-weight:700; margin:0 0 14px; }
.chatCta{ margin:12px 0 4px; }
.chatCta .chatBtn{ width:100%; justify-content:center; background:var(--yellow); border-color:var(--yellow); color:var(--navy); font-weight:900; font-size:16px; height:48px; }
.chatCta .chatBtn:hover{ background:#FFE45A; }
.chatCta small{ display:block; text-align:center; color:var(--gray); margin-top:5px; font-size:12.5px; }
.chatApp{ display:grid; grid-template-columns:330px 1fr; height:min(72vh,680px); min-height:480px; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.chatList{ border-right:1px solid var(--line); overflow-y:auto; background:#FFFDF6; }
.chatListH{ margin:0; padding:14px 16px 8px; font-size:15px; font-weight:900; color:var(--gray); text-transform:uppercase; letter-spacing:.04em; }
.chatLoading{ padding:20px; color:var(--gray); }
.cItem{ display:grid; grid-template-columns:46px 1fr auto; gap:10px; align-items:center; width:100%; text-align:left; background:none; border:0; border-bottom:1px solid #F1ECDA; padding:11px 14px; cursor:pointer; font-family:var(--sans); color:var(--ink); }
.cItem:hover{ background:#FFF7D6; }
.cItem.on{ background:var(--yellow-pale); box-shadow:inset 4px 0 0 var(--yellow); }
.cItem.unread b, .cItem.unread .cLast{ font-weight:900; color:#000; }
.cAv{ border-radius:50%; object-fit:cover; flex-shrink:0; display:inline-grid; place-items:center; }
.cAv.isLetter{ background:var(--navy); color:var(--yellow); font-weight:900; font-size:18px; }
.cTxt{ min-width:0; display:grid; gap:1px; }
.cTxt b{ font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cRol{ font-style:normal; font-size:11px; background:#E1F5E5; color:#14532D; border-radius:999px; padding:1px 6px; font-weight:800; }
.cAd{ font-size:12.5px; color:var(--navy); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cLast{ font-size:13px; color:var(--gray); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cMeta{ display:grid; justify-items:end; gap:4px; }
.cMeta small{ color:var(--gray); font-size:11.5px; white-space:nowrap; }
.cMeta em{ font-style:normal; background:var(--red); color:#fff; border-radius:999px; min-width:20px; height:20px; display:grid; place-items:center; font-size:11.5px; font-weight:900; padding:0 6px; }
.chatNone{ padding:24px 18px; text-align:center; color:var(--gray); }
.chatNone .lupin{ width:110px; margin:0 auto 8px; }
.chatMain{ display:flex; flex-direction:column; min-width:0; min-height:0; background:var(--cream); }
.chatEmpty{ margin:auto; text-align:center; padding:24px; max-width:360px; color:var(--gray); }
.chatEmptyLupin{ width:130px; margin:0 auto; }
.chatEmpty h3{ color:var(--ink); margin:8px 0 4px; }
.cHead{ display:flex; align-items:center; gap:10px; padding:10px 14px; background:var(--navy); color:#fff; }
.cBack{ display:none; background:none; border:0; color:var(--yellow); font-size:30px; line-height:1; padding:0 6px 0 0; cursor:pointer; }
.cWho{ display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; min-width:0; flex:1; }
.cWho b{ color:var(--yellow); font-size:16px; }
.cWho small{ display:block; color:#C9C5B3; font-size:12px; }
.cWho .flag{ width:20px; height:13px; }
.cMenu{ position:relative; }
.cMenuBtn{ background:rgba(255,255,255,.1); border:0; color:#fff; width:36px; height:36px; border-radius:50%; font-size:20px; cursor:pointer; }
.cMenuList{ position:absolute; right:0; top:42px; background:#fff; border-radius:12px; box-shadow:var(--shadow-lg); padding:6px; z-index:5; min-width:210px; display:grid; }
.cMenuList button{ text-align:left; background:none; border:0; padding:10px 12px; border-radius:8px; font-weight:700; font-family:var(--sans); color:var(--ink); cursor:pointer; }
.cMenuList button:hover{ background:var(--yellow-pale); }
.cAdBar{ display:flex; gap:10px; align-items:center; padding:8px 14px; background:#fff; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink); }
.cAdBar img, .cAdNoImg{ width:46px; height:46px; border-radius:8px; object-fit:cover; flex-shrink:0; display:grid; place-items:center; background:var(--yellow-soft); }
.cAdBar b{ display:block; font-size:14px; }
.cAdBar small{ color:var(--gray); font-weight:700; }
.cMsgs{ flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:8px; }
.cSafety{ display:flex; gap:10px; align-items:center; background:#FFF6CC; border-radius:12px; padding:8px 12px; font-size:13px; margin-bottom:6px; }
.cSafety img{ width:44px; flex-shrink:0; }
.cSafety p{ margin:0; }
.cMsg{ display:flex; flex-direction:column; align-items:flex-start; max-width:78%; }
.cMsg.me{ align-self:flex-end; align-items:flex-end; }
.cBub{ background:#fff; border:1px solid var(--line); border-radius:16px 16px 16px 4px; padding:8px 12px 6px; font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
.cMsg.me .cBub{ background:var(--yellow); border-color:var(--yellow); border-radius:16px 16px 4px 16px; }
.cBub time{ display:block; text-align:right; font-size:10.5px; color:#77786f; margin-top:2px; }
.cWarn{ margin-top:4px; font-size:12.5px; background:#FDE8E6; color:#8A1C12; border-radius:10px; padding:6px 10px; font-weight:700; }
.cQuick{ display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.cQuick p{ width:100%; margin:0; color:var(--gray); font-size:13px; font-weight:700; }
.cQuick button{ background:#fff; border:1px solid #E2DCC4; border-radius:999px; padding:8px 12px; font-weight:700; font-family:var(--sans); cursor:pointer; }
.cQuick button:hover{ background:var(--yellow-pale); }
.cForm{ display:flex; gap:8px; align-items:flex-end; padding:10px 12px; background:#fff; border-top:1px solid var(--line); }
.cForm textarea{ flex:1; resize:none; border:1px solid #d8d2bb; border-radius:20px; padding:10px 14px; font-size:15px; font-family:var(--sans); max-height:140px; line-height:1.35; }
.cForm textarea:focus{ outline:2px solid rgba(16,32,42,.2); border-color:var(--navy); }
.cForm .btn{ height:42px; border-radius:21px; padding:0 18px; }
.cForm.busy .btn{ opacity:.6; }
.cBlocked{ padding:14px; text-align:center; background:#F2F2F2; color:#555; font-weight:700; }
@media (max-width:900px){
  .chatApp{ grid-template-columns:1fr; height:calc(100vh - 160px); min-height:440px; }
  .chatMain{ display:none; }
  .chatApp.open .chatList{ display:none; }
  .chatApp.open .chatMain{ display:flex; }
  .cBack{ display:block; }
  .cMsg{ max-width:88%; }
}
@media (max-width:900px){ body.enChat .lchat{ display:none; } .chatApp{ height:calc(100vh - 90px); scroll-margin-top:6px; } }

/* ---------- Compartir anuncio (WhatsApp) ---------- */
.adShare{ margin:14px 0; padding:12px 14px; border:1px dashed #E2DCC4; border-radius:14px; background:#FFFCEB; }
.adShareHead{ display:flex; align-items:center; gap:10px; }
.adShareHead b{ display:block; color:var(--navy); }
.adShareHead small{ color:#6b6b6b; }
.adShareLupin{ width:46px; height:auto; flex:none; }
.adShare .shareBox{ margin-top:10px; }
.adShare .shWa{ flex:1 1 100%; justify-content:center; height:44px; font-size:15px; }
.btn.waBtn{ background:#25D366; border-color:#25D366; color:#fff; display:inline-flex; align-items:center; gap:6px; }
.btn.waBtn svg{ width:16px; height:16px; fill:currentColor; }

/* ---------- Fichas por categoría (vehículos / bienes raíces) ---------- */
.ficha{ margin:4px 0 18px; padding:16px; border:1px solid var(--line); border-radius:var(--r); background:#fff; box-shadow:var(--shadow); }
.ficha[hidden],.fField[hidden]{ display:none !important; }
.fichaHead{ display:flex; gap:12px; align-items:center; margin-bottom:8px; }
.fichaHead h3{ margin:0 0 2px; font-size:18px; color:var(--navy); }
.fichaHead p{ margin:0; color:var(--gray); font-size:13.5px; }
.fichaLupin{ width:56px; height:auto; flex:none; }
.fGrupo{ border:0; border-top:1px dashed var(--line); margin:12px 0 0; padding:12px 0 0; }
.fGrupo legend{ font-weight:900; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--navy); padding:0 6px 0 0; }
.fGrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 14px; }
.fField{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.fField.wide{ grid-column:1 / -1; }
.fLabel{ font-weight:800; font-size:13.5px; }
.fLabel i{ color:var(--red); font-style:normal; }
.fField input[type=text],.fField input[type=number],.fField input[type=date],.fField select{ height:42px; border:1px solid #D9D3BD; border-radius:var(--rs); padding:0 10px; font:inherit; background:#fff; width:100%; }
.odo{ display:flex; gap:6px; }
.odo input{ flex:1; min-width:0; }
.odo select{ width:auto !important; flex:none; }
.chipsSel{ display:flex; flex-wrap:wrap; gap:7px; }
.chipOpt{ position:relative; cursor:pointer; margin:0; }
.chipOpt input{ position:absolute; opacity:0; width:1px; height:1px; }
.chipOpt span{ display:inline-flex; align-items:center; min-height:36px; padding:0 13px; border:1px solid #D9D3BD; border-radius:999px; background:#fff; font-weight:700; font-size:13.5px; transition:background .12s,border-color .12s; }
.chipOpt:hover span{ border-color:var(--navy); }
.chipOpt input:checked + span{ background:var(--navy); border-color:var(--navy); color:var(--yellow); }
.chipsSel.multi .chipOpt input:checked + span::before{ content:"✓ "; margin-right:3px; }
.chipOpt input:focus-visible + span{ outline:3px solid var(--yellow); outline-offset:1px; }
@media (max-width:720px){ .fGrid{ grid-template-columns:1fr 1fr; } .ficha{ padding:12px; } .fichaLupin{ width:44px; } }
@media (max-width:420px){ .fGrid{ grid-template-columns:1fr; } }

/* Vista de la ficha en el anuncio */
.cardSub{ font-size:13px; font-weight:700; color:#4a4f54; margin:-2px 0 4px; }
.priceTag{ display:inline-block; margin:2px 0 6px; padding:3px 10px; border-radius:999px; background:var(--yellow-soft); font-weight:800; font-size:13px; color:var(--navy); }
.adResumen{ font-weight:800; color:#3d4247; margin:0 0 8px; }
.fichaView{ margin:18px 0; }
.fxGroup{ margin:12px 0 0; }
.fxGroup h4{ margin:0 0 6px; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray); }
.fxGrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; }
.fxRow{ background:#fff; border:1px solid var(--line); border-radius:var(--rs); padding:8px 10px; }
.fxRow dt{ font-size:12px; color:var(--gray); font-weight:700; }
.fxRow dd{ margin:2px 0 0; font-weight:800; color:var(--navy); }
.fxMulti{ margin-top:8px; }
.fxMulti > span{ font-size:12px; color:var(--gray); font-weight:700; }
.fxMulti ul{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:4px 0 0; }
.fxMulti li{ padding:4px 10px; border-radius:999px; background:#EAF7EE; color:#17603A; font-weight:700; font-size:13px; }
@media (max-width:720px){ .fxGrid{ grid-template-columns:1fr 1fr; } }
