/* ============================================================
   ALAMAULA THEME · Sistema de diseño
   Reskin global sobre la base Zeta. Define tipografía, color,
   componentes (botones, cards, buscador) y la home rediseñada.
   ============================================================ */

/* ---- 1. TOKENS GLOBALES (reskinean todo el theme vía variables que Zeta ya consume) ---- */
:root{
  --mb-font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
  --mb-font-size:15px; --mb-line-height:1.5;

  /* marca */
  --al-red:#ff2636; --al-red-deep:#cc1e2b; --al-red-wash:#fff1f1;
  --al-teal:#008f79; --al-teal-deep:#026958; --al-teal-wash:#e7f5f1;
  --al-ink:#17171b; --al-muted:#6b6862; --al-soft:#9b978f;
  --al-paper:#faf9f6; --al-card:#ffffff; --al-line:#ece8df; --al-line-strong:#ddd8cd;
  --al-r:14px;
  --al-shadow:0 1px 2px rgba(20,20,25,.04), 0 8px 24px rgba(20,20,25,.05);
  --al-shadow-lift:0 2px 6px rgba(20,20,25,.06), 0 16px 40px rgba(20,20,25,.10);
  --al-display:'Archivo',sans-serif;
}
body{background:var(--al-paper);color:var(--al-ink);font-family:var(--mb-font-family);-webkit-font-smoothing:antialiased}
h1,h2,h3,.disp{font-family:var(--al-display)}

/* ---- 2. BOTONES (toda la app) ---- */
.btn,.btn-primary,a.btn{border-radius:10px;font-weight:600;letter-spacing:.005em;transition:transform .12s ease, background .15s ease, box-shadow .15s ease}
.btn:active{transform:translateY(1px)}
.btn-primary,.btn.btn-primary{background:var(--al-red);border-color:var(--al-red)}
.btn-primary:hover,.btn.btn-primary:hover{background:var(--al-red-deep);border-color:var(--al-red-deep)}

/* ---- 3. CARDS DE AVISO (home, search, ficha relacionados) ---- */
.products .listing-card,.products li,.card{border-radius:var(--al-r)}
.products .listing-card:hover{box-shadow:var(--al-shadow-lift)}

/* =====================================================================
   4. HOME REDISEÑADA
   ===================================================================== */
#home{background:var(--al-paper)}
#home .wrapal{max-width:1200px;margin:0 auto;padding:0 20px}

/* HERO */
#home .al-hero{position:relative;overflow:hidden;padding:50px 0 26px}
#home .al-hero::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(900px 380px at 84% -12%, rgba(255,38,54,.10), transparent 60%),
             radial-gradient(700px 360px at 6% 122%, rgba(0,143,121,.10), transparent 60%)}
#home .al-hero .wrapal{position:relative}
#home .al-eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--al-teal-wash);color:var(--al-teal-deep);
  font-weight:700;font-size:12.5px;letter-spacing:.02em;padding:6px 12px;border-radius:999px;text-transform:uppercase}
#home .al-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--al-teal)}
#home .al-h1{font-family:var(--al-display);font-weight:900;letter-spacing:-.035em;line-height:.98;
  font-size:clamp(36px,6.6vw,64px);margin:16px 0 0;color:var(--al-ink)}
#home .al-h1 .ac{color:var(--al-red)}
#home .al-sub{font-size:clamp(15px,2.1vw,18px);color:var(--al-muted);max-width:560px;margin:14px 0 0}

/* HERO SEARCH */
#home .al-search{margin-top:26px;background:var(--al-card);border:1px solid var(--al-line-strong);
  border-radius:18px;box-shadow:var(--al-shadow);padding:10px;max-width:840px}
#home .al-search form{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#home .al-field{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0 14px;height:54px}
#home .al-field.q{flex:2 1 320px}
#home .al-field.loc{flex:1 1 190px;border-left:1px solid var(--al-line)}
#home .al-field svg{flex:none;color:var(--al-soft)}
#home .al-field input{border:0;outline:0;width:100%;font:inherit;font-size:16px;color:var(--al-ink);background:transparent}
#home .al-field input::placeholder{color:var(--al-soft)}
#home .al-go{height:54px;padding:0 26px;border:0;border-radius:12px;background:var(--al-red);color:#fff;
  font-family:var(--al-display);font-weight:800;font-size:16px;cursor:pointer;transition:background .15s,transform .12s}
#home .al-go:hover{background:var(--al-red-deep)}
#home .al-go:active{transform:translateY(1px)}
@media(max-width:560px){#home .al-field.loc{border-left:0;border-top:1px solid var(--al-line)}#home .al-go{width:100%}}
#home .al-trust{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:15px;font-size:13.5px;color:var(--al-muted)}
#home .al-trust b{font-family:var(--al-display);font-weight:800;color:var(--al-ink)}
#home .al-trust .sep{color:var(--al-line-strong)}

/* SECCIONES */
#home .al-sec{padding:32px 0}
#home .al-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
#home .al-head h2{font-family:var(--al-display);font-weight:800;letter-spacing:-.02em;font-size:clamp(22px,3vw,27px);line-height:1.05;color:var(--al-ink)}
#home .al-head .s{color:var(--al-muted);font-size:14px;margin-top:3px}
#home .al-head a.more{font-weight:600;font-size:14px;color:var(--al-teal-deep);white-space:nowrap}
#home .al-head a.more:hover{text-decoration:underline}

/* CATEGORÍAS · carrusel visual con pictogramas por rubro */
#home .alv2-category-section{padding-top:24px}
#home .alv2-category-panel{position:relative;background:#fff;border:1px solid #e5e9ec;border-radius:14px;padding:18px 18px 16px;box-shadow:0 4px 16px rgba(25,35,42,.045)}
#home .alv2-category-header{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin-bottom:14px}
#home .alv2-category-header h2{font-family:var(--al-display);font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.02em;margin:0;color:var(--al-ink)}
#home .alv2-category-header>a{font-size:12px;font-weight:600;color:#3483fa;white-space:nowrap}
#home .alv2-category-header>a:hover{text-decoration:underline}
#home .alv2-category-carousel{position:relative}
#home .alv2-category-track{display:grid;grid-template-rows:repeat(3,70px);grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/4);gap:10px 12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;scrollbar-width:none;padding:1px 2px 3px;outline:none}
#home .alv2-category-track::-webkit-scrollbar{display:none}
#home .alv2-category-card{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-width:0;height:70px;background:#fff;border:1px solid #e6e9ec;border-radius:9px;color:#333;overflow:hidden;scroll-snap-align:start;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
#home .alv2-category-card:hover{border-color:#cfd6db;box-shadow:0 5px 15px rgba(25,35,42,.09);transform:translateY(-1px);text-decoration:none}
#home .alv2-category-card.is-root{border-color:#dde3e7;background:linear-gradient(180deg,#fff,#fbfcfd)}
#home .alv2-category-card.is-root .alv2-category-copy strong{font-weight:800}
#home .alv2-category-media{align-self:stretch;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#f6f7f8}
#home .alv2-category-media:after{content:"";position:absolute;inset:auto 8px 6px;height:8px;border-radius:50%;background:rgba(30,45,55,.08);filter:blur(4px)}
#home .alv2-category-media img{display:block;position:relative;z-index:1;object-fit:contain;transition:transform .18s ease}
#home .alv2-category-photo{width:58px;height:58px;max-width:92%;max-height:92%}
#home .alv2-category-pictogram{width:38px;height:38px;max-width:58%;max-height:58%;filter:drop-shadow(0 2px 2px rgba(15,30,40,.12))}
#home .alv2-category-card:hover .alv2-category-media img{transform:scale(1.06)}
#home .alv2-tone-coral .alv2-category-media{background:#fff1ee}
#home .alv2-tone-blue .alv2-category-media{background:#eef5ff}
#home .alv2-tone-green .alv2-category-media{background:#edf9f2}
#home .alv2-tone-violet .alv2-category-media{background:#f5efff}
#home .alv2-tone-pink .alv2-category-media{background:#fff0f6}
#home .alv2-tone-orange .alv2-category-media{background:#fff4e8}
#home .alv2-tone-amber .alv2-category-media{background:#fff8df}
#home .alv2-tone-teal .alv2-category-media{background:#eaf9f7}
#home .alv2-tone-cyan .alv2-category-media{background:#ebf9fc}
#home .alv2-tone-indigo .alv2-category-media{background:#eef0ff}
#home .alv2-tone-purple .alv2-category-media{background:#f7edff}
#home .alv2-tone-brown .alv2-category-media{background:#f7f0ea}
#home .alv2-tone-slate .alv2-category-media{background:#f1f4f6}
#home .alv2-category-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-right:10px}
#home .alv2-category-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-family:var(--al-display);font-size:12.5px;line-height:1.2;font-weight:680;color:#30363a}
#home .alv2-category-copy small{display:block;margin-top:4px;font-size:10.5px;line-height:1;color:#8b9499;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#home .alv2-category-arrow{position:absolute;z-index:6;top:50%;display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin-top:-21px;padding:0;border:1px solid #e0e4e7;border-radius:50%;background:#fff;color:#3483fa;box-shadow:0 4px 12px rgba(0,0,0,.14);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
#home .alv2-category-arrow:hover{transform:scale(1.06);box-shadow:0 6px 17px rgba(0,0,0,.18)}
#home .alv2-category-arrow i{font-size:14px}
#home .alv2-category-arrow[hidden]{display:none!important}
#home .alv2-category-prev{left:-21px}
#home .alv2-category-next{right:-21px}
@media(max-width:1100px){
  #home .alv2-category-track{grid-auto-columns:calc((100% - 24px)/3)}
  #home .alv2-category-prev{left:-14px}#home .alv2-category-next{right:-14px}
}
@media(max-width:800px){
  #home .alv2-category-track{grid-auto-columns:calc((100% - 12px)/2)}
}
@media(max-width:620px){
  #home .alv2-category-section{padding-top:18px}
  #home .alv2-category-panel{border-radius:12px;padding:15px 12px 13px}
  #home .alv2-category-header{justify-content:space-between;margin-bottom:12px;padding:0 2px}
  #home .alv2-category-header h2{font-size:19px}
  #home .alv2-category-header>a{font-size:11.5px}
  #home .alv2-category-track{grid-template-rows:repeat(2,66px);grid-auto-columns:min(82vw,300px);gap:9px;padding-right:10px}
  #home .alv2-category-card{height:66px;grid-template-columns:66px minmax(0,1fr)}
  #home .alv2-category-photo{width:54px;height:54px}
  #home .alv2-category-pictogram{width:35px;height:35px}
  #home .alv2-category-copy strong{font-size:12.5px}
  #home .alv2-category-arrow{display:none!important}
}
html[mode="dark"] #home .alv2-category-panel,html[mode="dark"] #home .alv2-category-card{background:#1d2529;border-color:#344147}
html[mode="dark"] #home .alv2-category-card.is-root{background:#20292e;border-color:#3a474d}
html[mode="dark"] #home .alv2-category-media{background:#263136}
html[mode="dark"] #home .alv2-category-copy strong,html[mode="dark"] #home .alv2-category-header h2{color:#eef4f5}
html[mode="dark"] #home .alv2-category-copy small{color:#9ca8ad}
html[mode="dark"] #home .alv2-category-arrow{background:#243036;border-color:#405057;color:#69a7ff}

/* TIRA DE DESTACADOS (premium, sobria) */
#home .al-feat-band{background:linear-gradient(180deg,#fff,#fff8f8);border:1px solid var(--al-line);border-radius:18px;padding:20px}

/* CIUDADES */
#home .al-cities{display:flex;flex-wrap:wrap;gap:9px}
#home .al-city{display:inline-flex;align-items:center;gap:8px;background:var(--al-card);border:1px solid var(--al-line);
  border-radius:999px;padding:9px 15px;font-size:14px;font-weight:500;color:var(--al-ink);transition:border-color .14s,transform .14s}
#home .al-city:hover{border-color:var(--al-red);transform:translateY(-2px)}
#home .al-city b{font-family:var(--al-display);font-weight:700}
#home .al-city .n{color:var(--al-soft);font-size:12.5px}

/* WHY (sello de marca, una vez) */
#home .al-why{background:var(--al-ink);color:#fff;border-radius:22px;padding:clamp(28px,5vw,46px)}
#home .al-why .lead{font-family:var(--al-display);font-weight:800;letter-spacing:-.02em;font-size:clamp(23px,3.3vw,33px);line-height:1.06;max-width:620px}
#home .al-why .lead em{font-style:normal;color:#ff5a66}
#home .al-why .cols{display:grid;grid-template-columns:1fr;gap:22px;margin-top:28px}
@media(min-width:760px){#home .al-why .cols{grid-template-columns:repeat(3,1fr);gap:30px}}
#home .al-why .k{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(0,143,121,.22);color:#43d6bb;font-size:20px;margin-bottom:12px}
#home .al-why h3{font-family:var(--al-display);font-weight:700;font-size:18px;margin-bottom:6px}
#home .al-why p{color:#b9b6b0;font-size:14.5px;line-height:1.5}

/* link "ver todo" */
#home .al-allwrap{text-align:center;margin-top:22px}
#home .al-all{display:inline-block;font-weight:600;font-size:14px;color:var(--al-teal-deep);border:1px solid var(--al-line-strong);
  border-radius:10px;padding:11px 22px;transition:border-color .14s,background .14s}
#home .al-all:hover{border-color:var(--al-teal);background:var(--al-teal-wash)}

@media(prefers-reduced-motion:reduce){#home *{transition:none!important}}

/* el hero reemplaza el welcome viejo */
#home .home-action{display:none}

/* ---- CARDS PROPIAS (al-card) + grid ---- */
#home .al-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:640px){#home .al-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:980px){#home .al-grid{grid-template-columns:repeat(4,1fr)}}
:is(#home,#search) .alc{position:relative;background:var(--al-card);border:1px solid var(--al-line);border-radius:var(--al-r);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .14s ease,box-shadow .16s ease,border-color .14s;color:var(--al-ink)}
:is(#home,#search) .alc:hover{transform:translateY(-4px);box-shadow:var(--al-shadow-lift);border-color:var(--al-line-strong)}
:is(#home,#search) .alc-ph{aspect-ratio:4/3;position:relative;background:linear-gradient(135deg,#f1efe9,#e8e5dd);overflow:hidden}
:is(#home,#search) .alc-ph img{width:100%;height:100%;object-fit:cover;display:block}
:is(#home,#search) .alc-ph.noimg img{object-fit:contain;opacity:.5}
:is(#home,#search) .alc-tag{position:absolute;top:9px;left:9px;font-size:11px;font-weight:700;letter-spacing:.02em;
  padding:4px 9px;border-radius:999px;background:rgba(23,23,27,.78);color:#fff;backdrop-filter:blur(4px)}
:is(#home,#search) .alc-tag.feat{background:var(--al-red)}
:is(#home,#search) .alc-tag.sold{background:#444}
:is(#home,#search) .alc-tag.reserved{background:var(--al-teal)}
:is(#home,#search) .alc.is-sold .alc-ph img{filter:grayscale(.7);opacity:.7}
:is(#home,#search) .alc-body{padding:12px 13px 13px;display:flex;flex-direction:column;gap:6px;flex:1}
:is(#home,#search) .alc-price{font-family:var(--al-display);font-weight:800;font-size:20px;letter-spacing:-.02em;line-height:1;color:var(--al-ink)}
:is(#home,#search) .alc-price.consult{font-size:14px;font-weight:700;color:var(--al-muted)}
:is(#home,#search) .alc-ttl{font-size:13.5px;line-height:1.3;color:var(--al-ink);font-weight:500;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
:is(#home,#search) .alc-direct{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:var(--al-teal-deep);
  background:var(--al-teal-wash);padding:3px 8px;border-radius:999px;width:fit-content}
:is(#home,#search) .alc-meta{margin-top:auto;display:flex;align-items:center;gap:6px;font-size:12px;color:var(--al-soft)}
:is(#home,#search) .alc-loc{color:var(--al-muted)}

/* ---- BLOG ---- */
#home .al-posts{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:760px){#home .al-posts{grid-template-columns:repeat(3,1fr)}}
#home .al-post{background:var(--al-card);border:1px solid var(--al-line);border-radius:var(--al-r);overflow:hidden;
  transition:transform .14s,box-shadow .16s;color:var(--al-ink)}
#home .al-post:hover{transform:translateY(-3px);box-shadow:var(--al-shadow)}
#home .al-post .pi{aspect-ratio:16/9;background:linear-gradient(135deg,#ffe9ea,#e7f5f1)}
#home .al-post .pc{padding:15px}
#home .al-post .kk{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--al-red)}
#home .al-post h3{font-family:var(--al-display);font-weight:700;font-size:16.5px;line-height:1.25;margin:7px 0 0}

/* ---- BLOQUE SEO PROVINCIAS ---- */
#home .al-seo{background:var(--al-card);border:1px solid var(--al-line);border-radius:18px;padding:clamp(24px,4vw,38px)}
#home .al-seo h2{font-family:var(--al-display);font-weight:800;letter-spacing:-.02em;font-size:clamp(20px,2.6vw,26px);color:var(--al-ink)}
#home .al-seo p{color:var(--al-muted);font-size:14.5px;line-height:1.6;margin-top:12px;max-width:760px}
#home .al-provs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
#home .al-prov{font-size:13.5px;font-weight:500;color:var(--al-teal-deep);background:var(--al-teal-wash);
  border-radius:999px;padding:7px 13px;transition:background .14s}
#home .al-prov:hover{background:#d6ede7}
/* ============================================================
   CARRUSELES (mecánica ML, estética Alamaula)
   ============================================================ */
#home .al-grid.al-carousel{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:2px;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
#home .al-grid.al-carousel::-webkit-scrollbar{height:0;width:0;display:none}
#home .al-grid.al-carousel .alc{flex:0 0 auto;width:210px;scroll-snap-align:start}
@media(max-width:560px){#home .al-grid.al-carousel .alc{width:160px}}
/* flechas minimalistas prev/next del carrusel */
#home .al-car-wrap{position:relative}
#home .al-car-arrow{position:absolute;top:calc(50% - 22px);z-index:6;width:40px;height:40px;border-radius:50%;
  background:#fff;border:1px solid var(--al-line-strong);color:var(--al-ink);display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.14);transition:background .15s,transform .1s,opacity .15s;font-size:14px}
#home .al-car-arrow:hover{background:var(--al-paper);transform:scale(1.07)}
#home .al-car-arrow.prev{left:-8px}
#home .al-car-arrow.next{right:-8px}
#home .al-car-arrow[hidden]{display:none}
@media(max-width:700px){#home .al-car-arrow{display:none}}

/* densidad en card: condición + categoría */
:is(#home,#search) .alc-tag.cond{left:auto;right:9px;background:var(--al-teal)}
:is(#home,#search) .alc-cat{font-size:11.5px;color:var(--al-soft)}
:is(#home,#search) .alc-meta{flex-wrap:wrap;gap:4px 8px}
:is(#home,#search) .alc-meta .dot{color:var(--al-line-strong)}
:is(#home,#search) .alc-attrs{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
:is(#home,#search) .alc-attrs span{font-size:11.5px;font-weight:600;color:var(--al-ink);background:var(--al-paper);
  border:1px solid var(--al-line);border-radius:7px;padding:3px 8px;line-height:1}

/* ============================================================
   HEADER · reskin RESPETANDO la geometría fixed/48px del zeta
   (NO se toca position ni height: el zeta ya es fixed y siempre visible)
   ============================================================ */
body > header{background:#fff!important;box-shadow:0 1px 0 0 var(--al-line)!important}
header .container.cmain{max-width:1280px;margin:0 auto}
header .logo,header .logo.normal{font-family:var(--al-display);font-weight:900;letter-spacing:-.03em;color:var(--al-ink)}
header .logo img{height:30px;min-height:30px}
/* botón Publicar: teal, dentro del alto de 48px del zeta */
header .links a.publish,header .links .publish.btn{background:var(--al-teal)!important;color:#fff!important;
  border:0!important;border-radius:8px!important;height:34px!important;min-width:auto!important;
  padding:0 14px!important;font-size:14px!important;font-weight:600!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;margin:0 4px 0 8px!important;transition:background .15s}
header .links a.publish:hover,header .links .publish.btn:hover{background:var(--al-teal-deep)!important}
/* contadores en rojo de marca */
header .links a.mini-btn .counter{background:var(--al-red)!important}
header .links a.mini-btn .counter.spec{background:var(--al-teal)!important}
/* registro como botón outline sutil */
header .links a.simple.register{border:1px solid var(--al-line-strong);border-radius:8px}
header .links a.simple.register:hover{border-color:var(--al-ink)}
/* nav links (Ayuda/Blog/Tiendas) hover de marca */
header .links1 a:hover{color:var(--al-red)!important;background:transparent!important}

/* ============================================================
   FAB · Publicar gratis (mobile)
   ============================================================ */
.al-fab{display:none}
@media(max-width:880px){
  .al-fab{display:inline-flex;align-items:center;gap:8px;position:fixed;right:16px;bottom:74px;z-index:70;
    background:var(--al-red);color:#fff;font-weight:700;font-size:14px;padding:12px 17px;border-radius:999px;
    box-shadow:0 8px 24px rgba(255,38,54,.36);transition:transform .14s}
  .al-fab:active{transform:scale(.96)}
}
@media(prefers-reduced-motion:reduce){.al-fab{transition:none}}

/* ============================================================
   FOOTER PROPIO · oscuro premium (ancla la página)
   ============================================================ */
footer.al-footer{background:#0f0f13!important;border-top:0!important;margin-top:48px!important;
  box-shadow:0 -6px 18px rgba(0,0,0,.12);color:#b9b9c2!important}
footer.al-footer .al-fwrap{max-width:1200px;margin:0 auto;padding:48px 20px 0}
footer.al-footer .al-fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:34px;padding-bottom:32px}
@media(max-width:760px){footer.al-footer .al-fgrid{grid-template-columns:1fr 1fr;gap:26px}}
footer.al-footer .al-fbrand{font-family:var(--al-display);font-weight:900;font-size:26px;letter-spacing:-.04em;color:#fff;display:inline-block}
footer.al-footer .al-fbrand b{color:var(--al-red)}
footer.al-footer .al-fnote{color:#86868f;font-size:13.5px;line-height:1.55;margin-top:10px;max-width:340px}
footer.al-footer .al-fsocial{display:flex;gap:8px;margin-top:16px}
footer.al-footer .al-fsocial a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border-radius:10px;background:#1b1b21;border:1px solid #2a2a32;color:#c9c9d2;transition:all .14s}
footer.al-footer .al-fsocial a:hover{color:#fff;background:var(--al-red);border-color:var(--al-red)}
footer.al-footer .al-fsocial a i{font-size:16px!important;line-height:1!important;margin:0!important;color:inherit!important}
footer.al-footer .al-fsocial a svg{display:block!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;margin:0!important;color:inherit!important;fill:currentColor!important;overflow:visible!important}
footer.al-footer .al-fcol h4{font-family:var(--al-display);font-weight:700;font-size:12.5px;text-transform:uppercase;
  letter-spacing:.05em;color:#6f6f78;margin:0 0 12px}
footer.al-footer .al-fcol a{display:block;font-size:14px;color:#b9b9c2;padding:4px 0;transition:color .14s}
footer.al-footer .al-fcol a:hover{color:#fff}
footer.al-footer .al-fbottom{border-top:1px solid #23232b;padding:18px 0;display:flex;justify-content:space-between;
  flex-wrap:wrap;gap:8px;font-size:12.5px;color:#6f6f78}
footer.al-footer .al-fremate{font-weight:600;color:#3ec8ad}
footer.al-footer .al-fhook:empty,footer.al-footer .al-fwidgets:empty{display:none}
/* dark mode switch off */
.switch-light-dark-mode,.switch-ld1{display:none!important}
/* ============================================================
   GALERÍA tipo ML (#item · al-gallery) — versión demo aprobada
   foto grande + miniaturas verticales PEGADAS a la izquierda
   ============================================================ */
/* el contenedor viejo del zeta no debe imponer ancho/alto a la galería */
#item #item-image{border-radius:0!important;overflow:visible!important;background:transparent!important;margin:0 0 24px!important}
#item #item-image .img-bg,#item #item-image .swiper-thumbs{display:none!important}

#item .al-gallery{display:flex;gap:14px;align-items:flex-start;width:100%;max-width:620px}
#item .al-gal-thumbs{display:flex;flex-direction:column;gap:10px;width:66px;flex:0 0 66px;
  max-height:540px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;padding:2px}
#item .al-gal-thumbs::-webkit-scrollbar{width:0;height:0;display:none}
#item .al-gal-thumb{padding:0;margin:0;border:1px solid var(--al-line);border-radius:9px;overflow:hidden;
  background:#fff;cursor:pointer;width:62px;height:62px;flex:0 0 auto;transition:border-color .14s,box-shadow .14s}
#item .al-gal-thumb img{width:100%;height:100%;object-fit:contain;display:block;padding:3px;box-sizing:border-box}
#item .al-gal-thumb.active{border-color:var(--al-ink);box-shadow:0 0 0 2px var(--al-ink)}
#item .al-gal-thumb:hover{border-color:var(--al-ink)}
#item .al-gal-main{flex:1;min-width:0;position:relative;border:1px solid var(--al-line);border-radius:14px;
  overflow:hidden;background:#fff;height:clamp(320px,40vw,520px);display:flex;align-items:center;justify-content:center}
#item .al-gal-main img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;
  object-fit:contain!important;display:block!important;position:static!important;float:none!important;min-height:0!important;border-radius:0!important}

/* mobile: foto grande arriba, miniaturas en fila abajo */
@media(max-width:700px){
  #item .al-gallery{flex-direction:column}
  #item .al-gal-thumbs{flex-direction:row;width:100%;flex:none;max-height:none;overflow-x:auto;order:2}
  #item .al-gal-main{order:1;width:100%}
}

/* ============================================================
   FICHA · 2 COLUMNAS (galería+contenido izq / contacto der)
   Ahora SÍ: la galería tiene tamaño controlado, no explota.
   "Enviar mensaje" queda al lado de la foto grande (sticky).
   ============================================================ */
@media(min-width:760px){
  /* FLEX (no grid): así los demás bloques NO se desparraman.
     Orden visual por 'order': banner(0) -> galería+contacto(2/3) -> detalle(4) -> relacionados/recientes(9) */
  /* body#item para ganarle en especificidad a zeta (body#item .container.primary{flex-direction:column}) */
  body#item .container.primary{
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-start!important;
    max-width:1060px;margin:0 auto;column-gap:34px;
  }
  /* por defecto, cualquier hijo ocupa el ancho completo y respeta el orden del HTML */
  body#item .container.primary > *{flex:0 0 100%}
  /* GALERÍA: columna izquierda */
  body#item .container.primary > #item-top{order:2;flex:1 1 0!important;min-width:300px;max-width:680px;width:auto!important;margin:0!important}
  #item .al-gallery{max-width:600px}
  /* disolver data-box para reubicar contacto y detalle */
  body#item .data-box:not(.sold){display:contents!important}
  /* CONTACTO: a la derecha, al lado de la galería */
  body#item .data-box:not(.sold) #item-side{order:3;flex:0 0 300px!important;width:300px!important;margin:0!important;position:static!important;top:auto!important;align-self:flex-start}
  #item .data-box:not(.sold) #item-side > .box#seller{
    box-shadow:0 4px 16px rgba(0,0,0,.08),0 0 0 1px var(--al-line)!important}
  /* DETALLE (descripción, características): debajo de la galería, a la izquierda */
  #item .data-box:not(.sold) #item-main{
    order:4;flex:1 1 100%;max-width:100%;width:auto!important;
    padding:24px 0 0!important;margin:24px 0 0!important;border-top:1px solid var(--al-line)!important}
  /* RELACIONADOS / RECIENTES / banner inferior: SIEMPRE al fondo, ancho completo */
  #item .container.primary > .related,
  #item .container.primary > .recent-ads,
  #item .container.primary > #recent-ads{order:9;flex:0 0 100%;width:100%;margin-top:24px}
}

/* BOTONES compartir/le gusta/denunciar: barra ARRIBA de la galería, NO sobre la foto */
#item #item-image{position:relative;max-width:620px}
#item #item-image .mlinks.top{
  position:static!important;right:auto!important;top:auto!important;
  display:flex!important;flex-direction:row!important;justify-content:flex-end;
  gap:8px;margin:0 0 12px 0!important}
/* el contador "X imágenes" sí queda sobre la foto, abajo a la derecha */
#item #item-image .mlinks.bottom{right:16px;left:auto;bottom:16px;top:auto}

/* ============================================================
   FICHA · buy-box (título+precio arriba en la columna derecha)
   + reducción del espacio header/ficha (margen del breadcrumb)
   ============================================================ */
/* achicar el espacio de arriba: el breadcrumb tenía 20px+20px */
#item ul.breadcrumb{margin:4px 0 14px!important}
#item .container.primary{padding-top:0!important}
#item #item-top{margin-top:0!important}

/* buy-box: oculto por defecto (mobile usa el título/precio normal de la izquierda) */
.al-buybox{display:none}
.al-buybox .al-bb-title{font-family:var(--al-display);font-weight:800;font-size:19px;line-height:1.25;
  letter-spacing:-.01em;color:var(--al-ink);margin:0 0 12px}
.al-buybox .al-bb-tag{display:inline-block;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:6px;
  margin-right:6px;vertical-align:middle;color:#fff;background:#444}
.al-buybox .al-bb-tag.reserved{background:var(--al-teal)}
.al-buybox .al-bb-price{font-family:var(--al-display);font-weight:900;font-size:32px;letter-spacing:-.03em;
  line-height:1;color:var(--al-ink);margin:0 0 4px}
.al-buybox .al-bb-price.isstring{font-size:19px;color:var(--al-muted)}
.al-buybox .al-bb-direct{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;
  color:var(--al-teal-deep);background:var(--al-teal-wash);padding:4px 10px;border-radius:999px;margin:12px 0 4px}

/* en desktop (2 col): mostrar buy-box arriba a la derecha, ocultar título/precio viejos de la izquierda */
@media(min-width:920px){
  .al-buybox{display:block;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--al-line)}
  #item .data-box:not(.sold) #item-main > .basic > h1.row,
  #item .data-box:not(.sold) #item-main > .basic > .price-row{display:none!important}
}

/* ============================================================
   FIX vista ADMIN: el zeta corre el header +34px por la barra de
   admin de Osclass, pero no compensa el body → hueco solo en admin.
   Subimos el contenido 34px SOLO cuando hay barra de admin.
   (no afecta a los visitantes, que ya ven la ficha pegada)
   ============================================================ */
.osc-has-admin-header body#item .container.primary{margin-top:-34px}
.osc-has-admin-header#item .container.primary{margin-top:-34px}
body.osc-has-admin-header#item .container.primary{margin-top:-34px}

/* ============================================================
   SEARCH · grilla de resultados (al-card, mismo look que el home)
   ============================================================ */
#search-items .products.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:640px){#search-items .products.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1180px){#search-items .products.grid{grid-template-columns:repeat(4,1fr)}}
/* vista lista: tarjeta horizontal (foto izquierda, datos derecha) */
#search-items .products.list{display:flex;flex-direction:column;gap:12px}
#search-items .products.list .alc{flex-direction:row;align-items:stretch}
#search-items .products.list .alc-ph{aspect-ratio:1/1;width:200px;min-width:200px;flex:0 0 200px}
#search-items .products.list .alc-body{justify-content:center}
@media(max-width:560px){
  #search-items .products.list .alc-ph{width:120px;min-width:120px;flex:0 0 120px}
}

/* ============================================================
   SEARCH · destacados (carrusel horizontal de al-cards)
   ============================================================ */
#search-premium-items .products{
  display:flex!important;flex-wrap:nowrap!important;gap:14px;overflow-x:auto!important;
  grid-template-columns:none!important;padding:4px 2px 12px;scrollbar-width:thin;
  background:transparent!important}
#search-premium-items .products::-webkit-scrollbar{height:8px}
#search-premium-items .products::-webkit-scrollbar-thumb{background:var(--al-line-strong);border-radius:99px}
#search-premium-items .products > .alc,
#search-premium-items .products > *{
  flex:0 0 210px!important;width:210px!important;min-width:210px!important;max-width:210px!important;
  scroll-snap-align:start}
@media(max-width:560px){
  #search-premium-items .products > .alc,
  #search-premium-items .products > *{flex:0 0 165px!important;width:165px!important;min-width:165px!important;max-width:165px!important}}
#search-premium-items h2{font-family:var(--al-display);font-weight:800;font-size:19px;
  letter-spacing:-.01em;color:var(--al-ink);margin:0 0 12px}

/* ============================================================
   SEARCH · rediseño de cabecera (título, categorías, filtros, orden)
   ============================================================ */
/* ---- Título de resultados ---- */
body#search #search-main .top-bar{margin:0 0 18px}
body#search #search-main .top-bar h1{font-family:var(--al-display);font-weight:800;
  font-size:clamp(20px,3vw,27px);letter-spacing:-.02em;line-height:1.15;color:var(--al-ink);margin:0 0 6px}
body#search #search-main .top-bar .hdesc{font-size:14px;line-height:1.5;color:var(--al-muted);max-width:760px}

/* ---- Categorías (tiles sobrios, sin globito rojo flotante) ---- */
body#search #search-cat{margin:0 0 20px}
body#search #search-cat h2{font-family:var(--al-display);font-weight:800;font-size:16px;
  letter-spacing:-.01em;color:var(--al-ink);margin:0 0 12px}
body#search #search-cat .cat-list{gap:10px;padding-top:2px}
body#search #search-cat .cat-list a{
  width:auto!important;min-width:94px!important;max-width:130px!important;height:auto!important;
  min-height:90px;background:var(--al-card)!important;border:1px solid var(--al-line)!important;
  border-radius:14px!important;margin:0!important;padding:14px 10px!important;gap:5px;box-shadow:none!important;
  transition:transform .14s,box-shadow .16s,border-color .14s}
body#search #search-cat .cat-list a:hover{transform:translateY(-3px);
  box-shadow:var(--al-shadow-lift)!important;border-color:var(--al-line-strong)!important}
body#search #search-cat .cat-list a.active{border-color:var(--al-ink)!important;box-shadow:0 0 0 1px var(--al-ink)!important}
body#search #search-cat .cat-list a .icon{margin:2px 0}
body#search #search-cat .cat-list a .icon img,
body#search #search-cat .cat-list a .icon svg,
body#search #search-cat .cat-list a .icon i{height:30px!important;font-size:25px!important;color:var(--al-ink)!important;fill:var(--al-ink)!important}
body#search #search-cat .cat-list a .name{font-size:12.5px!important;line-height:1.25!important;height:auto!important;color:var(--al-ink)!important;font-weight:500}
body#search #search-cat .cat-list a.active .name{font-weight:700}
/* globito de cantidad: chico, gris, abajo del nombre (no rojo flotante) */
body#search #search-cat .cat-list a .count{
  position:static!important;display:inline-block!important;margin:2px 0 0 0!important;right:auto!important;top:auto!important;
  background:var(--al-paper)!important;color:var(--al-soft)!important;box-shadow:none!important;
  font-size:11px!important;font-weight:600!important;border-radius:6px!important;padding:1px 8px!important;border:1px solid var(--al-line)!important}

/* ---- Línea de filtros (dropdowns como pills) ---- */
body#search #filter-line{margin:0 0 14px}
body#search #filter-line .filter-list{gap:8px;align-items:center}
body#search #filter-line .all-filters,
body#search #filter-line .simple-select .text{
  background:var(--al-card)!important;border:1px solid var(--al-line)!important;border-bottom-color:var(--al-line)!important;
  border-radius:999px!important;padding:9px 16px!important;font-size:14px!important;font-weight:600!important;
  color:var(--al-ink)!important;box-shadow:none!important;transition:.14s;white-space:nowrap;line-height:18px!important}
body#search #filter-line .all-filters:hover,
body#search #filter-line .simple-select:hover .text,
body#search #filter-line .simple-select.opened .text{
  background:var(--al-paper)!important;border-color:var(--al-line-strong)!important}
body#search #filter-line .simple-select{width:auto!important;clear:none!important;float:none!important}
body#search #filter-line .all-filters .counter,
body#search #filter-line .counter{
  background:var(--al-red)!important;color:#fff!important;border-radius:999px!important;
  min-width:18px;height:18px;line-height:18px!important;text-align:center;font-size:11px!important;font-weight:700!important;margin-left:6px}
body#search #filter-line .filter-list > .del{display:none}

/* ---- Chips de filtros activos ---- */
body#search #filters-remove{margin:0 0 18px;gap:8px}
body#search #filters-remove a{
  background:var(--al-teal-wash)!important;color:var(--al-teal-deep)!important;
  border-radius:999px!important;padding:7px 30px 7px 14px!important;font-weight:600!important;font-size:13px!important;
  box-shadow:none!important;border:1px solid transparent!important;margin:0!important;height:auto!important}
body#search #filters-remove a.remove-all{
  background:transparent!important;color:var(--al-ink)!important;padding:7px 14px!important;border:1px solid var(--al-line)!important}
body#search #filters-remove a:after{color:var(--al-teal-deep)!important}
body#search #filters-remove a.remove-all:hover{background:var(--al-paper)!important}

/* ---- Barra de orden + vista ---- */
body#search #search-quick-bar{margin:0 0 16px;align-items:center}
body#search #search-quick-bar .simple-sort .text{
  background:var(--al-card)!important;border:1px solid var(--al-line)!important;border-radius:999px!important;
  padding:9px 16px!important;font-size:14px!important;color:var(--al-ink)!important;box-shadow:none!important}
body#search #search-quick-bar .view-type a{border-radius:9px!important}
body#search #search-quick-bar .view-type a.active{background:var(--al-paper)!important}
body#search #search-quick-bar .view-type a.active svg{color:var(--al-ink)!important}

/* "Guardar esta búsqueda" + separación general */
body#search #search-main{padding-top:4px}

/* ============================================================
   PUBLICAR · rediseño del formulario (item-post · solo estética)
   ============================================================ */
/* contenedor + título */
body#body-item-post .box{max-width:660px}
body#body-item-post h1{font-family:var(--al-display)!important;font-weight:800!important;
  font-size:26px!important;letter-spacing:-.02em!important;color:var(--al-ink)!important;margin:0 0 18px!important}

/* tarjetas de sección (borde fino, sin sombra pesada) */
body#body-item-post .box section:not(.buttons-block){
  background:var(--al-card)!important;border:1px solid var(--al-line)!important;
  border-radius:14px!important;box-shadow:none!important;margin:0 0 14px 0!important}
body#body-item-post .box section h2{font-family:var(--al-display)!important;font-weight:800!important;
  font-size:16px!important;color:var(--al-ink)!important;letter-spacing:-.01em!important;padding:18px 18px 4px!important}
body#body-item-post .box section h2.first{font-size:18px!important}
body#body-item-post .box section .in{padding:4px 18px 18px!important}

/* labels */
body#body-item-post label{font-size:12.5px!important;font-weight:600!important;
  color:var(--al-muted)!important;margin:0 0 5px!important}

/* inputs / select / textarea */
body#body-item-post input[type="text"],
body#body-item-post input[type="email"],
body#body-item-post input[type="password"],
body#body-item-post input[type="number"],
body#body-item-post input[type="tel"],
body#body-item-post select,
body#body-item-post textarea{
  border:1px solid var(--al-line)!important;border-radius:10px!important;background:#fff!important;
  padding:11px 14px!important;font-size:14px!important;color:var(--al-ink)!important;
  box-shadow:none!important;min-height:44px!important;transition:border-color .14s,box-shadow .14s!important}
body#body-item-post textarea{min-height:96px!important;line-height:1.5!important}
body#body-item-post input[type="text"]:focus,
body#body-item-post input[type="email"]:focus,
body#body-item-post input[type="password"]:focus,
body#body-item-post input[type="number"]:focus,
body#body-item-post input[type="tel"]:focus,
body#body-item-post select:focus,
body#body-item-post textarea:focus{
  border-color:var(--al-teal)!important;box-shadow:0 0 0 3px var(--al-teal-wash)!important;outline:none!important}

/* precio + moneda */
body#body-item-post input#price{max-width:100%!important;border-radius:10px!important;padding-left:96px!important}
body#body-item-post select#currency{border-radius:8px 0 0 8px!important;border:none!important;
  border-right:1px solid var(--al-line)!important;background:var(--al-paper)!important;font-weight:700!important;
  color:var(--al-muted)!important;height:36px!important;top:4px!important;left:4px!important}

/* dropzone de fotos */
body#body-item-post .upload-photos .qq-upload-button{
  background:var(--al-teal-wash)!important;border:2px dashed #9fe1cb!important;
  color:var(--al-teal-deep)!important;border-radius:12px!important;font-weight:700!important}
body#body-item-post .upload-photos .qq-upload-button:after{color:var(--al-muted)!important}
body#body-item-post .upload-photos .qq-upload-button > div{
  background:var(--al-teal)!important;border-radius:8px!important;font-weight:700!important}
body#body-item-post .upload-photos .qq-upload-button > div:hover{background:var(--al-teal-deep)!important}
body#body-item-post .upload-photos .qq-upload-list li{border:1px solid var(--al-line)!important;
  box-shadow:none!important;border-radius:10px!important}

/* checkboxes (mostrar teléfono/email, etc.) -> tilde en teal de marca */
body#body-item-post .input-box-check input[type="checkbox"]:checked + label:before{
  border-color:var(--al-teal)!important;background-color:var(--al-teal)!important}
body#body-item-post .input-box-check label{font-size:13.5px!important;color:var(--al-ink)!important;font-weight:500!important}

/* botón publicar */
body#body-item-post .buttons-block button.btn{
  background:var(--al-red)!important;border:none!important;color:#fff!important;
  font-family:var(--al-display)!important;font-weight:800!important;font-size:16px!important;
  border-radius:12px!important;height:54px!important;letter-spacing:.01em!important;transition:background .14s!important}
body#body-item-post .buttons-block button.btn:hover{background:var(--al-red-deep)!important}

/* picker (categoría / ubicación) como input limpio */
body#body-item-post .picker .text,
body#body-item-post .picker input{border-radius:10px!important;border:1px solid var(--al-line)!important}

/* ============================================================
   PUBLICAR · layout 2 columnas + vista previa en vivo
   ============================================================ */
body#body-item-post .box.al-pub-wide{max-width:1080px!important}
body#body-item-post .al-pub-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:26px;align-items:start;clear:both}
body#body-item-post .al-pub-grid > form{min-width:0;float:none!important;width:100%!important}
body#body-item-post .al-pub-aside{position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}
@media(max-width:900px){
  body#body-item-post .al-pub-grid{grid-template-columns:1fr}
  body#body-item-post .al-pub-aside{position:static;top:auto}
}
/* etiqueta */
body#body-item-post .al-pub-pvlabel{font-size:11px;font-weight:700;color:var(--al-soft);
  text-transform:uppercase;letter-spacing:.05em}
/* tarjeta de preview */
body#body-item-post .al-pvcard{background:#fff;border:1px solid var(--al-line);border-radius:14px;overflow:hidden}
body#body-item-post .al-pvimg{aspect-ratio:4/3;background:linear-gradient(135deg,#f1efe9,#e3ded3);
  background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;
  color:#bdb8ac;font-size:32px}
body#body-item-post .al-pvimg.has{color:transparent}
body#body-item-post .al-pvbody{padding:13px 14px}
body#body-item-post .al-pvprice{font-family:var(--al-display);font-weight:900;font-size:22px;
  letter-spacing:-.02em;line-height:1;color:var(--al-ink)}
body#body-item-post .al-pvttl{font-size:13.5px;color:var(--al-ink);margin:4px 0 8px;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body#body-item-post .al-pvdirect{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;
  color:var(--al-teal-deep);background:var(--al-teal-wash);padding:3px 10px;border-radius:999px}
body#body-item-post .al-pvmeta{font-size:12px;color:var(--al-soft);margin-top:9px}
body#body-item-post .al-pvmeta i{margin-right:3px}
/* tips */
body#body-item-post .al-pvtips{background:#fff;border:1px solid var(--al-line);border-radius:14px;padding:14px 15px}
body#body-item-post .al-pvtips-h{font-weight:700;font-size:12.5px;color:var(--al-ink);margin:0 0 10px}
body#body-item-post .al-pvtips-h i{color:#ba7517;margin-right:4px}
body#body-item-post .al-pvtip{font-size:12px;color:var(--al-muted);line-height:1.5;margin:0 0 6px;display:flex;gap:7px}
body#body-item-post .al-pvtip i{margin-top:2px;color:var(--al-line-strong)}
body#body-item-post .al-pvtip.done i{color:var(--al-teal)}

/* ============================================================
   PUBLICAR · wizard por pasos (barra de progreso + navegación)
   ============================================================ */
body#body-item-post .box{max-width:720px!important}
/* barra de progreso */
body#body-item-post .al-wiz-bar{display:flex;align-items:flex-start;margin:2px 0 24px}
body#body-item-post .al-wstep{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto;cursor:default}
body#body-item-post .al-wstep.done{cursor:pointer}
body#body-item-post .al-wnum{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;font-size:13px;font-weight:700;background:#fff;border:1px solid var(--al-line-strong);color:var(--al-soft);transition:.15s}
body#body-item-post .al-wstep.active .al-wnum{background:var(--al-ink);color:#fff;border-color:var(--al-ink);box-shadow:0 0 0 4px var(--al-line)}
body#body-item-post .al-wstep.done .al-wnum{background:var(--al-teal);color:#fff;border-color:var(--al-teal)}
body#body-item-post .al-wlbl{font-size:11px;color:var(--al-soft);white-space:nowrap}
body#body-item-post .al-wstep.active .al-wlbl{color:var(--al-ink);font-weight:700}
body#body-item-post .al-wstep.done .al-wlbl{color:var(--al-muted)}
body#body-item-post .al-wline{flex:1;height:2px;background:var(--al-line-strong);margin:15px -6px 0;border-radius:2px}
body#body-item-post .al-wline.done{background:var(--al-teal)}
/* navegación */
body#body-item-post .al-wiz-nav{display:flex;align-items:center;gap:12px;margin:14px 0 0;clear:both;width:100%;float:none}
body#body-item-post .al-wiz-back{background:transparent;border:1px solid var(--al-line-strong);color:var(--al-ink);
  font-weight:600;font-size:14px;border-radius:10px;padding:13px 22px;cursor:pointer;transition:.14s}
body#body-item-post .al-wiz-back:hover{background:var(--al-paper)}
body#body-item-post .al-wiz-next{margin-left:auto;background:var(--al-red);border:none;color:#fff;
  font-family:var(--al-display);font-weight:800;font-size:15px;border-radius:10px;padding:14px 32px;cursor:pointer;transition:background .14s}
body#body-item-post .al-wiz-next:hover{background:var(--al-red-deep)}
/* el botón Publicar real (último paso) full width */
body#body-item-post .buttons-block{margin-top:6px!important}

/* ============================================================
   PUBLICAR · wizard v2 (barra mobile, tip, contadores, resumen, validación)
   ============================================================ */
body#body-item-post .al-wiz-bar{clear:both;float:none}
/* barra compacta para mobile */
body#body-item-post #al-wiz-mbar{display:none;align-items:center;gap:10px;margin:2px 0 22px;clear:both}
body#body-item-post .al-mtrack{flex:1;height:6px;background:var(--al-line-strong);border-radius:6px;overflow:hidden}
body#body-item-post .al-mfill{height:100%;background:var(--al-teal);transition:width .2s}
body#body-item-post .al-mlbl{font-size:12.5px;font-weight:700;white-space:nowrap;color:var(--al-ink)}
@media(max-width:560px){
  body#body-item-post .al-wiz-bar{display:none!important}
  body#body-item-post #al-wiz-mbar{display:flex!important}
  body#body-item-post .al-wiz-next{padding:14px 22px}
}
/* tip contextual */
body#body-item-post .al-wiz-tip{clear:both;float:none;display:flex;align-items:center;gap:8px;font-size:12.5px;
  color:var(--al-teal-deep);background:var(--al-teal-wash);border-radius:10px;padding:10px 14px;margin:14px 0 0}
/* contador de caracteres */
body#body-item-post .al-wiz-count{text-align:right;font-size:11px;color:var(--al-soft);margin:4px 2px 0}
/* resumen (paso Revisá) */
body#body-item-post #al-wiz-review{border:1px solid var(--al-line);border-radius:12px;overflow:hidden;margin:0 0 18px}
body#body-item-post .al-rv-h{background:var(--al-paper);padding:12px 14px;font-weight:700;font-size:14px;border-bottom:1px solid var(--al-line)}
body#body-item-post .al-rv-row{display:flex;justify-content:space-between;gap:14px;padding:11px 14px;font-size:13px;border-bottom:1px solid var(--al-paper)}
body#body-item-post .al-rv-row:last-child{border-bottom:none}
body#body-item-post .al-rv-row span{color:var(--al-muted)}
body#body-item-post .al-rv-row b{text-align:right;color:var(--al-ink)}
/* mensaje de validación */
body#body-item-post #al-wiz-err{clear:both;float:none;background:var(--al-red-wash);color:var(--al-red-deep);
  border:1px solid var(--al-red);border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;margin:14px 0 0;display:flex;align-items:center;gap:8px}


/* ============================================================
   FOOTER V2 · rediseño funcional Alamaula
   ============================================================ */
footer.al-footer{background:linear-gradient(180deg,#0f1115 0%,#0a0c10 100%)!important;color:#cbd5e1!important}
footer.al-footer .al-fwrap{max-width:1240px;padding:32px 20px 0}
footer.al-footer .al-fcta{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;margin-bottom:28px;border:1px solid #1f2937;border-radius:22px;background:linear-gradient(135deg,rgba(17,24,39,.96),rgba(10,13,18,.96));box-shadow:0 14px 34px rgba(0,0,0,.22)}
footer.al-footer .al-fbadge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:rgba(62,200,173,.12);border:1px solid rgba(62,200,173,.22);color:#7ee7cf;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
footer.al-footer .al-fcta h3{margin:0;font-family:var(--al-display);font-size:28px;line-height:1.05;color:#fff;letter-spacing:-.04em}
footer.al-footer .al-fcta p{margin:10px 0 0;font-size:14px;line-height:1.6;color:#94a3b8;max-width:700px}
footer.al-footer .al-fcta-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:280px}
footer.al-footer .al-fbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:12px;font-size:13px;font-weight:800;white-space:nowrap;transition:all .14s}
footer.al-footer .al-fbtn-primary{background:var(--al-red);border:1px solid var(--al-red);color:#fff}
footer.al-footer .al-fbtn-primary:hover{background:#ef2335;border-color:#ef2335;color:#fff;transform:translateY(-1px)}
footer.al-footer .al-fbtn-secondary{background:#141922;border:1px solid #273245;color:#d9e2ee}
footer.al-footer .al-fbtn-secondary:hover{border-color:#3ec8ad;color:#fff;background:#18202b;transform:translateY(-1px)}
footer.al-footer .al-fgrid.al-fgrid--v2{grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(150px,1fr));gap:28px;padding-bottom:28px}
footer.al-footer .al-fcol a{line-height:1.45}
footer.al-footer .al-fcol-legal a{color:#97a4b8}
footer.al-footer .al-fpills{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
footer.al-footer .al-fpills span{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#171b22;border:1px solid #262d38;color:#d1dae8;font-size:12px;font-weight:700}
footer.al-footer .al-fdisclaimer{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;margin:0 0 18px;border:1px solid #1f2937;border-radius:16px;background:rgba(255,255,255,.02)}
footer.al-footer .al-fdisc-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:rgba(62,200,173,.12);color:#6ee7d3;border:1px solid rgba(62,200,173,.22)}
footer.al-footer .al-fdisclaimer p{margin:0;color:#94a3b8;font-size:13px;line-height:1.6}
footer.al-footer .al-fbottom{border-top:1px solid #1f2530;padding:18px 0 22px;color:#7f8b9d}
footer.al-footer .al-fremate{color:#78e7c2}
footer.al-footer .al-fhook{margin-top:8px}
footer.al-footer .al-fwidgets{margin-top:8px}
@media(max-width:1120px){
  footer.al-footer .al-fgrid.al-fgrid--v2{grid-template-columns:1.2fr 1fr 1fr;gap:24px}
  footer.al-footer .al-fcol-legal{grid-column:1/-1}
}
@media(max-width:920px){
  footer.al-footer .al-fcta{flex-direction:column;align-items:flex-start;padding:22px}
  footer.al-footer .al-fcta-actions{justify-content:flex-start;min-width:0}
  footer.al-footer .al-fcta h3{font-size:24px}
  footer.al-footer .al-fgrid.al-fgrid--v2{grid-template-columns:1fr 1fr}
  footer.al-footer .al-fbrand-col{grid-column:1/-1}
}
@media(max-width:620px){
  footer.al-footer .al-fwrap{padding:22px 16px 0}
  footer.al-footer .al-fcta{padding:18px 16px;border-radius:18px}
  footer.al-footer .al-fcta h3{font-size:21px}
  footer.al-footer .al-fcta p{font-size:13px}
  footer.al-footer .al-fcta-actions{width:100%}
  footer.al-footer .al-fbtn{width:100%}
  footer.al-footer .al-fgrid.al-fgrid--v2{grid-template-columns:1fr;gap:20px}
  footer.al-footer .al-fbrand-col,footer.al-footer .al-fcol-legal{grid-column:auto}
  footer.al-footer .al-fdisclaimer{padding:14px}
}


/* ============================================================
   SEARCH · taxonomy redesign (primary categories + subcategories)
   ============================================================ */
body#search #search-cat.alv2-search-taxonomy{margin:0 0 18px}
body#search #search-cat.alv2-search-taxonomy h2{display:none}
body#search .alv2-taxonomy-primary,
body#search .alv2-taxonomy-secondary{display:grid;gap:12px}
body#search .alv2-taxonomy-primary{grid-template-columns:repeat(8,minmax(0,1fr));margin-bottom:12px}
body#search .alv2-taxonomy-secondary{grid-template-columns:repeat(8,minmax(0,1fr));padding:16px;border:1px solid var(--al-line);background:linear-gradient(180deg,#f9fcfc,#f5fbfb);border-radius:18px}
body#search .alv2-tax-card,
body#search .alv2-subtax-card{display:flex;align-items:center;gap:14px;background:var(--al-card);border:1px solid var(--al-line);border-radius:18px;min-height:86px;padding:16px 14px;text-decoration:none;box-shadow:none;transition:transform .14s ease,box-shadow .16s ease,border-color .16s ease;background-clip:padding-box}
body#search .alv2-subtax-card{min-height:74px;padding:14px}
body#search .alv2-tax-card:hover,
body#search .alv2-subtax-card:hover{transform:translateY(-2px);box-shadow:var(--al-shadow-lift);border-color:var(--al-line-strong)}
body#search .alv2-tax-card.is-active{border-color:var(--al-teal-deep);box-shadow:inset 0 0 0 1px rgba(10,117,132,.25),0 10px 26px rgba(15,23,42,.05);position:relative;background:linear-gradient(180deg,#ffffff,#fbfefe)}
body#search .alv2-tax-card.is-active:after{content:'';position:absolute;left:14px;right:14px;bottom:-1px;height:4px;border-radius:99px;background:var(--al-teal)}
body#search .alv2-subtax-card.is-active{border-color:rgba(10,117,132,.3);background:#f2fbfb;box-shadow:inset 0 0 0 1px rgba(10,117,132,.12)}
body#search .alv2-tax-icon,
body#search .alv2-subtax-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid var(--al-line)}
body#search .alv2-subtax-icon{width:36px;height:36px;border-radius:10px;background:#fcffff}
body#search .alv2-tax-icon i,
body#search .alv2-tax-icon img,
body#search .alv2-subtax-icon i,
body#search .alv2-subtax-icon img{font-size:22px;max-width:24px;max-height:24px;color:var(--al-ink)}
body#search .alv2-subtax-icon i,
body#search .alv2-subtax-icon img{font-size:18px;max-width:20px;max-height:20px}
body#search .alv2-tax-copy,
body#search .alv2-subtax-copy{display:flex;flex-direction:column;min-width:0;gap:4px}
body#search .alv2-tax-copy strong,
body#search .alv2-subtax-copy strong{display:block;font-size:14px;line-height:1.2;font-weight:800;color:var(--al-ink);white-space:normal}
body#search .alv2-tax-copy em,
body#search .alv2-subtax-copy em{display:block;font-style:normal;font-size:13px;line-height:1.2;color:var(--al-muted)}
body#search .alv2-tax-card-more,
body#search .alv2-subtax-card-more{cursor:pointer;font:inherit;text-align:left}
body#search .alv2-tax-card-more .alv2-tax-icon,
body#search .alv2-subtax-card-more .alv2-subtax-icon{background:#f8fbfc}
body#search .alv2-tax-card-more .alv2-tax-copy strong,
body#search .alv2-subtax-card-more .alv2-subtax-copy strong{color:var(--al-teal-deep)}

@media(max-width:1400px){
  body#search .alv2-taxonomy-primary{grid-template-columns:repeat(4,minmax(0,1fr))}
  body#search .alv2-taxonomy-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  body#search .alv2-taxonomy-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
  body#search .alv2-taxonomy-secondary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}
}
@media(max-width:560px){
  body#search #search-cat.alv2-search-taxonomy{margin:0 0 14px}
  body#search .alv2-taxonomy-primary,
  body#search .alv2-taxonomy-secondary{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:thin}
  body#search .alv2-taxonomy-secondary{padding:10px 0 8px;background:transparent;border:0;border-radius:0}
  body#search .alv2-tax-card,
  body#search .alv2-subtax-card{flex:0 0 250px;min-width:250px;min-height:76px;padding:14px;border-radius:16px}
  body#search .alv2-subtax-card{min-height:68px;flex-basis:220px;min-width:220px}
  body#search .alv2-tax-copy strong,
  body#search .alv2-subtax-copy strong{font-size:13px}
  body#search .alv2-tax-copy em,
  body#search .alv2-subtax-copy em{font-size:12px}
}

/* ============================================================
   PUBLICAR 2.3.3 · borradores, fotos, revisión y envío seguro
   ============================================================ */
body#body-item-post .al-publish-intro{margin:-8px 0 20px;color:var(--al-muted);font-size:14px;line-height:1.55}
body#body-item-post .al-draft-status{display:flex;align-items:center;gap:8px;margin:-10px 0 18px;padding:9px 12px;border:1px solid var(--al-line);border-radius:10px;background:#fff;color:var(--al-muted);font-size:12px;line-height:1.35}
body#body-item-post .al-draft-status i{color:var(--al-soft)}
body#body-item-post .al-draft-status.is-saving i{color:var(--al-teal);animation:alv2DraftPulse 1s ease-in-out infinite}
body#body-item-post .al-draft-status.is-saved{background:var(--al-teal-wash);border-color:rgba(27,157,132,.25);color:var(--al-teal-deep)}
body#body-item-post .al-draft-status.is-saved i{color:var(--al-teal)}
body#body-item-post .al-draft-status.is-error{background:var(--al-red-wash);border-color:rgba(255,38,54,.28);color:var(--al-red-deep)}
@keyframes alv2DraftPulse{0%,100%{opacity:.45}50%{opacity:1}}

body#body-item-post .al-draft-offer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-6px 0 20px;padding:14px 16px;border:1px solid #f0c66d;border-radius:12px;background:#fff9e9;color:#58461c}
body#body-item-post .al-draft-offer-copy{display:flex;align-items:flex-start;gap:11px;min-width:0}
body#body-item-post .al-draft-offer-copy>i{margin-top:3px;color:#b88216}
body#body-item-post .al-draft-offer-copy div{display:flex;flex-direction:column;gap:2px}
body#body-item-post .al-draft-offer-copy b{font-size:13px;color:#352908}
body#body-item-post .al-draft-offer-copy span{font-size:12px;line-height:1.45;color:#725d28}
body#body-item-post .al-draft-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body#body-item-post .al-draft-actions button{min-height:36px;border-radius:9px;padding:0 13px;font-size:12px;font-weight:800;cursor:pointer}
body#body-item-post .al-draft-restore{border:1px solid var(--al-ink);background:var(--al-ink);color:#fff}
body#body-item-post .al-draft-discard{border:1px solid #d8c48e;background:#fff;color:#5f4a19}

body#body-item-post .al-photo-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-6px 0 14px;padding:10px 12px;border:1px solid var(--al-line);border-radius:10px;background:var(--al-paper)}
body#body-item-post .al-photo-help{display:flex;align-items:center;gap:8px;color:var(--al-muted);font-size:12px;line-height:1.4}
body#body-item-post .al-photo-help i{color:var(--al-soft)}
body#body-item-post .al-photo-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#fff;border:1px solid var(--al-line);color:var(--al-ink);font-size:11px;font-weight:800;white-space:nowrap}
body#body-item-post .al-photo-count.is-pending{color:var(--al-teal-deep);border-color:rgba(27,157,132,.3)}
body#body-item-post .upload-photos .qq-upload-list li{overflow:visible}
body#body-item-post .upload-photos .qq-upload-list li .ajax_preview_img{overflow:hidden}
body#body-item-post .upload-photos .al-photo-badge{position:absolute;left:8px;bottom:8px;z-index:5;display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:7px;background:rgba(17,20,25,.82);color:#fff;font-size:10px;font-weight:800;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.16);pointer-events:none}
body#body-item-post .upload-photos .al-photo-badge.cover{background:var(--al-red)}
body#body-item-post .upload-photos .qq-upload-move{cursor:grab}
body#body-item-post .upload-photos .qq-upload-move:active{cursor:grabbing}
body#body-item-post .upload-photos .qq-upload-delete,
body#body-item-post .upload-photos .primary_image{opacity:1!important}
body#body-item-post .upload-photos li:first-child .primary_image{display:none!important}

body#body-item-post .al-wstep{appearance:none;border:0;background:transparent;padding:0;font-family:inherit}
body#body-item-post .al-wstep:disabled{opacity:1}
body#body-item-post .al-wstep:not(:disabled){cursor:pointer}
body#body-item-post .al-field-invalid{outline:2px solid var(--al-red)!important;outline-offset:2px;box-shadow:none!important}
body#body-item-post #al-wiz-err[hidden]{display:none!important}
body#body-item-post #al-wiz-err:not([hidden]){display:flex}

body#body-item-post #al-wiz-review{background:#fff}
body#body-item-post .al-rv-h{display:flex;align-items:center;gap:8px}
body#body-item-post .al-rv-body{display:grid;grid-template-columns:1fr;gap:0;width:100%;min-width:0}
body#body-item-post .al-rv-body.has-cover{grid-template-columns:150px minmax(0,1fr)}
body#body-item-post .al-rv-cover{padding:14px;border-right:1px solid var(--al-line);background:var(--al-paper)}
body#body-item-post .al-rv-cover img{display:block;width:100%;height:140px;object-fit:contain;border-radius:9px;background:#fff}
body#body-item-post .al-rv-rows{min-width:0;width:100%}
body#body-item-post .al-rv-row{display:grid;grid-template-columns:minmax(90px,140px) minmax(0,1fr);align-items:flex-start;width:100%;box-sizing:border-box}
body#body-item-post .al-rv-value{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;min-width:0;max-width:none;width:100%}
body#body-item-post .al-rv-value b{min-width:0;overflow-wrap:anywhere;line-height:1.45}
body#body-item-post .al-rv-edit{flex:0 0 auto;border:0;background:transparent;color:var(--al-red);padding:1px 0;font-size:11px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
body#body-item-post .al-rv-edit:hover{color:var(--al-red-deep)}

body#body-item-post .al-publish-confirm{display:flex;align-items:flex-start;gap:10px;margin:2px 0 14px;padding:12px 13px;border:1px solid var(--al-line);border-radius:10px;background:var(--al-paper);color:var(--al-muted);font-size:12px;line-height:1.5}
body#body-item-post .al-publish-confirm i{margin-top:3px;color:var(--al-teal)}
body#body-item-post .al-publish-submit{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:50px;width:100%;font-family:var(--al-display);font-size:15px!important;font-weight:800!important}
body#body-item-post .al-publish-submit.is-submitting{cursor:wait;opacity:.8}

@media(max-width:640px){
  body#body-item-post .al-draft-offer{align-items:stretch;flex-direction:column;gap:12px}
  body#body-item-post .al-draft-actions{width:100%}
  body#body-item-post .al-draft-actions button{flex:1}
  body#body-item-post .al-photo-meta{align-items:flex-start;flex-direction:column;gap:8px}
  body#body-item-post .al-rv-body{grid-template-columns:1fr}
  body#body-item-post .al-rv-cover{border-right:0;border-bottom:1px solid var(--al-line)}
  body#body-item-post .al-rv-cover img{height:180px}
  body#body-item-post .al-rv-row{grid-template-columns:1fr;gap:5px}
  body#body-item-post .al-rv-value{max-width:none;width:100%;justify-content:space-between}
  body#body-item-post .al-rv-value b{text-align:left}
  body#body-item-post .al-wiz-nav{position:sticky;bottom:0;z-index:20;margin-left:-14px;margin-right:-14px;width:calc(100% + 28px);padding:12px 14px;background:rgba(255,255,255,.96);border-top:1px solid var(--al-line);box-shadow:0 -8px 22px rgba(17,20,25,.07);backdrop-filter:blur(8px)}
}

html[mode="dark"] body#body-item-post .al-draft-status,
html[mode="dark"] body#body-item-post #al-wiz-review{background:var(--mb-color12)}
html[mode="dark"] body#body-item-post .al-draft-offer{background:#3b321d;border-color:#6f5b27;color:#f2dfab}
html[mode="dark"] body#body-item-post .al-draft-offer-copy b{color:#fff3cb}
html[mode="dark"] body#body-item-post .al-draft-offer-copy span{color:#d8c78e}
html[mode="dark"] body#body-item-post .al-draft-discard{background:#282b33;border-color:#6f5b27;color:#f2dfab}
html[mode="dark"] body#body-item-post .al-photo-count{background:var(--mb-color12)}
@media(max-width:640px){html[mode="dark"] body#body-item-post .al-wiz-nav{background:rgba(31,34,41,.96)}}

/* ============================================================
   PUBLICAR 2.3.5 · rediseño amplio con vista previa en vivo
   ============================================================ */
body#body-item-post{
  background:#f7f9fb;
}
body#body-item-post .content{
  align-items:stretch!important;
  background:#f7f9fb!important;
  padding:28px 0 56px!important;
}
body#body-item-post .al-publish-container{
  width:100%;
  max-width:1340px;
  margin:0 auto;
  padding:0 28px;
}
body#body-item-post .al-publish-box{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body#body-item-post .al-publish-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin:0 0 22px;
}
body#body-item-post .al-publish-heading h1{
  display:block!important;
  margin:0 0 7px!important;
  font-family:var(--al-display);
  font-size:29px!important;
  line-height:1.12;
  letter-spacing:-.035em;
  color:var(--al-ink);
}
body#body-item-post .al-publish-intro{
  margin:0;
  color:var(--al-muted);
  font-size:13.5px;
  line-height:1.55;
}
body#body-item-post .al-publish-trust{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  margin-top:3px;
  padding:9px 12px;
  border:1px solid rgba(10,153,139,.22);
  border-radius:999px;
  background:#effbf8;
  color:#087d72;
  font-size:12px;
  font-weight:800;
}
body#body-item-post .al-pub-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:32px;
  align-items:start;
  clear:both;
}
body#body-item-post .al-pub-main,
body#body-item-post .al-pub-main>form{
  width:100%!important;
  min-width:0;
  float:none!important;
}
body#body-item-post .al-pub-aside{
  position:sticky;
  top:92px;
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}

/* Wizard */
body#body-item-post .al-wiz-bar{
  display:flex;
  align-items:flex-start;
  width:100%;
  margin:0 0 18px;
  padding:0 4px;
}
body#body-item-post .al-wstep{
  min-width:70px;
}
body#body-item-post .al-wnum{
  width:34px;
  height:34px;
  background:#fff;
  border:1px solid #d7dde5;
  color:#667085;
  font-size:13px;
}
body#body-item-post .al-wstep.active .al-wnum{
  background:#0b9b91;
  border-color:#0b9b91;
  box-shadow:0 0 0 5px rgba(11,155,145,.10);
}
body#body-item-post .al-wstep.done .al-wnum{
  background:#0b9b91;
  border-color:#0b9b91;
}
body#body-item-post .al-wlbl{
  color:#667085;
  font-size:11px;
  font-weight:600;
}
body#body-item-post .al-wstep.active .al-wlbl{
  color:#087d72;
  font-weight:800;
}
body#body-item-post .al-wline{
  height:1px;
  margin:17px -3px 0;
  background:#d8dee6;
}
body#body-item-post .al-wline.done{background:#0b9b91}
body#body-item-post .al-step[hidden],
body#body-item-post .buttons-block[hidden]{
  display:none!important;
}
body#body-item-post section.prio{
  display:block;
  width:100%;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body#body-item-post section.prio[style*="display: none"]{display:none!important}
body#body-item-post .al-step{
  width:100%;
  float:none!important;
  clear:both;
  margin:0!important;
  padding:0 0 2px;
  background:#fff!important;
  border:1px solid #dfe4eb!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(16,24,40,.045)!important;
  overflow:visible;
}
body#body-item-post .al-step-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  width:100%;
  padding:20px 22px 10px;
}
body#body-item-post .al-step-heading h2,
body#body-item-post .box .al-step .al-step-heading h2{
  display:block;
  width:auto;
  margin:0 0 5px!important;
  padding:0!important;
  color:var(--al-ink);
  font-family:var(--al-display);
  font-size:18px!important;
  line-height:1.25;
  letter-spacing:-.015em;
}
body#body-item-post .al-step-heading p{
  margin:0;
  max-width:680px;
  color:var(--al-muted);
  font-size:12.5px;
  line-height:1.55;
}
body#body-item-post .al-step-badge{
  flex:0 0 auto;
  padding:6px 10px;
  border:1px solid var(--al-line);
  border-radius:999px;
  background:var(--al-paper);
  color:var(--al-muted);
  font-size:11px;
  font-weight:800;
}
body#body-item-post .al-step>.in,
body#body-item-post .al-step>.box,
body#body-item-post .al-step>.attr-wrap{
  width:100%;
}
body#body-item-post .al-step>.in,
body#body-item-post .box .al-step .in{
  display:block;
  padding:12px 22px 22px!important;
  border:0!important;
  margin:0!important;
}
body#body-item-post .al-step .attr-wrap{
  margin:0;
  padding:0 22px 20px;
}
body#body-item-post .al-step .attr-wrap>.in{
  padding:0!important;
}
body#body-item-post .al-step .attr-wrap h2{
  padding:12px 0 8px!important;
  font-size:15px!important;
}
body#body-item-post .al-step label{
  margin:0 0 7px;
  color:#344054;
  font-size:12px;
  font-weight:750;
}
body#body-item-post .al-step input[type="text"],
body#body-item-post .al-step input[type="email"],
body#body-item-post .al-step input[type="tel"],
body#body-item-post .al-step input[type="number"],
body#body-item-post .al-step select,
body#body-item-post .al-step textarea,
body#body-item-post .al-step .simple-select .text{
  min-height:46px;
  border:1px solid #d7dde5!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
  color:var(--al-ink)!important;
}
body#body-item-post .al-step textarea{min-height:150px;padding:12px!important}
body#body-item-post .al-step input:focus,
body#body-item-post .al-step select:focus,
body#body-item-post .al-step textarea:focus{
  border-color:#0b9b91!important;
  box-shadow:0 0 0 3px rgba(11,155,145,.11)!important;
  outline:0!important;
}
body#body-item-post .al-step .row{margin-bottom:16px}

/* Uploader grande */
body#body-item-post .upload-photos>.box.photos{
  width:auto!important;
  max-width:none!important;
  margin:0 22px 22px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body#body-item-post .upload-photos #photos{
  width:100%;
}
body#body-item-post .upload-photos #photos>.sub-label{display:none!important}
body#body-item-post .upload-photos .qq-uploader{
  width:100%;
  min-height:190px;
  padding:0;
  border:1.5px dashed #7bcfc7;
  border-radius:14px;
  background:linear-gradient(180deg,#f8fffd 0%,#f1fbf9 100%);
  overflow:visible;
}
body#body-item-post .upload-photos .qq-upload-drop-area,
body#body-item-post .upload-photos .qq-upload-button{
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-height:188px;
  margin:0!important;
  padding:58px 20px 24px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#101828!important;
  font-family:var(--al-display);
  font-size:15px!important;
  font-weight:850!important;
  text-align:center;
}
body#body-item-post .upload-photos .qq-upload-button{
  display:flex!important;
  position:relative!important;
  z-index:3!important;
  cursor:pointer!important;
}
/* FineUploader controla cuándo debe mostrarse el área de arrastre. No se puede
   forzar display:flex permanentemente porque queda por encima del selector de
   archivos y bloquea el clic. */
body#body-item-post .upload-photos .qq-upload-drop-area{
  pointer-events:none!important;
}
body#body-item-post .upload-photos .qq-upload-drop-area.qq-upload-drop-area-active{
  display:flex!important;
  pointer-events:auto!important;
}
body#body-item-post .upload-photos .qq-upload-button input[type="file"]{
  position:absolute!important;
  inset:0!important;
  z-index:30!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer!important;
}
body#body-item-post .upload-photos .qq-upload-button:before,
body#body-item-post .upload-photos .qq-upload-button:after,
body#body-item-post .upload-photos .qq-upload-button>div{
  pointer-events:none!important;
}
body#body-item-post .upload-photos .qq-upload-button:before{
  content:"\f093";
  position:absolute;
  top:28px;
  left:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  transform:translateX(-50%);
  border-radius:50%;
  background:#dff5f1;
  color:#0b9b91;
  font-family:"Font Awesome 5 Free";
  font-size:20px;
  font-weight:900;
}
body#body-item-post .upload-photos .qq-upload-button:after{
  display:block;
  max-width:420px;
  margin-top:7px;
  color:#667085;
  font-family:Inter,Arial,sans-serif;
  font-size:11.5px;
  font-weight:500;
  line-height:1.55;
}
body#body-item-post .upload-photos .qq-upload-drop-area span{
  color:#101828;
  font-size:15px;
  font-weight:850;
}
body#body-item-post .al-photo-meta{
  margin:10px 0 12px;
  padding:9px 12px;
  border:0;
  border-radius:9px;
  background:#edf9f7;
}
body#body-item-post .al-photo-help{color:#087d72}
body#body-item-post .al-photo-help i{color:#0b9b91}
body#body-item-post .al-photo-count{background:#fff;color:#344054}
body#body-item-post .upload-photos .qq-upload-list{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(72px,1fr));
  gap:10px;
  width:100%;
  margin:12px 0 0!important;
  padding:0!important;
}
body#body-item-post .upload-photos .qq-upload-list li{
  position:relative;
  width:100%!important;
  min-width:0!important;
  min-height:88px;
  margin:0!important;
  border:1px dashed #d5dce5!important;
  border-radius:10px!important;
  background:#fbfcfd!important;
  overflow:hidden!important;
}
body#body-item-post .upload-photos .qq-upload-list li img,
body#body-item-post .upload-photos .qq-upload-list li .ajax_preview_img{
  width:100%!important;
  height:88px!important;
  object-fit:cover!important;
  border-radius:9px!important;
}

/* Mensajes y borrador */
body#body-item-post .al-draft-status{
  margin:0 0 14px;
  padding:9px 12px;
  border-radius:10px;
  box-shadow:none;
}
body#body-item-post #error_list.new-item{margin:0 0 14px}
body#body-item-post .al-wiz-tip{
  margin:12px 0 0;
  border:1px solid rgba(11,155,145,.16);
}
body#body-item-post #al-wiz-err{margin:12px 0 0}

/* Barra inferior de acciones */
body#body-item-post .al-wiz-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  width:100%;
  margin:16px 0 0;
  padding:14px 0 0;
  border-top:1px solid #e4e8ee;
}
body#body-item-post .al-wiz-back,
body#body-item-post .al-wiz-save,
body#body-item-post .al-wiz-next{
  min-height:54px;
  border-radius:10px;
  cursor:pointer;
  transition:transform .14s,box-shadow .14s,background .14s,border-color .14s;
}
body#body-item-post .al-wiz-back{
  margin-right:auto;
  padding:0 18px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
}
body#body-item-post .al-wiz-save{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  column-gap:8px;
  min-width:188px;
  padding:8px 16px;
  border:1px solid #cbd3dc;
  background:#fff;
  color:#344054;
  font-family:inherit;
  font-size:13px;
  font-weight:800;
}
body#body-item-post .al-wiz-save i{grid-row:1/3;font-size:15px}
body#body-item-post .al-wiz-save small,
body#body-item-post .al-wiz-next small{
  display:block;
  font-size:9.5px;
  font-weight:500;
  line-height:1.2;
  opacity:.74;
}
body#body-item-post .al-wiz-save.is-saved{
  border-color:#0b9b91;
  background:#effbf8;
  color:#087d72;
}
body#body-item-post .al-wiz-next{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  column-gap:10px;
  min-width:205px;
  margin-left:0;
  padding:8px 18px;
  border:1px solid #0b9b91;
  background:#0b9b91;
  color:#fff;
  font-family:var(--al-display);
  font-size:14px;
  font-weight:850;
  box-shadow:0 6px 16px rgba(11,155,145,.20);
}
body#body-item-post .al-wiz-next i{grid-column:2;grid-row:1/3}
/* En el último paso no debe coexistir “Continuar” con el envío definitivo. */
body#body-item-post .al-wiz-nav [hidden],
body#body-item-post .al-wiz-next[hidden],
body#body-item-post .al-wiz-next[aria-hidden="true"]{
  display:none!important;
}
body#body-item-post .al-wiz-nav.is-last-step{
  justify-content:flex-start;
}
body#body-item-post .al-wiz-nav.is-last-step .al-wiz-save{
  margin-left:auto;
}
body#body-item-post .al-wiz-back:hover,
body#body-item-post .al-wiz-save:hover,
body#body-item-post .al-wiz-next:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(16,24,40,.10);
}
body#body-item-post .buttons-block{
  width:100%;
  margin:16px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid #e4e8ee;
}
body#body-item-post .al-publish-submit{
  min-height:54px;
  border-radius:10px!important;
  background:#0b9b91!important;
  border-color:#0b9b91!important;
  box-shadow:0 7px 18px rgba(11,155,145,.20);
}

/* Vista previa lateral */
body#body-item-post .al-pvcard,
body#body-item-post .al-pvtips{
  overflow:hidden;
  border:1px solid #dfe4eb;
  border-radius:15px;
  background:#fff;
  box-shadow:0 8px 24px rgba(16,24,40,.045);
}
body#body-item-post .al-pvhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 13px;
  border-bottom:1px solid #eaedf1;
}
body#body-item-post .al-pvhead strong{
  color:#101828;
  font-family:var(--al-display);
  font-size:14px;
  font-weight:850;
}
body#body-item-post .al-pvhead span{
  padding:5px 8px;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:10px;
  font-weight:750;
}
body#body-item-post .al-pvimg{
  position:relative;
  aspect-ratio:4/3;
  margin:10px 14px 0;
  border:1px solid #e4e7ec;
  border-radius:10px 10px 0 0;
  background:#f8fafc center/contain no-repeat;
  color:#d0d5dd;
  font-size:38px;
}
body#body-item-post .al-pvimg.has{background-color:#f8fafc}
body#body-item-post .al-pv-count{
  position:absolute;
  top:9px;
  right:9px;
  min-width:34px;
  padding:4px 7px;
  border-radius:6px;
  background:rgba(17,24,39,.76);
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-align:center;
}
body#body-item-post .al-pvbody{
  margin:0 14px 14px;
  padding:14px 12px 12px;
  border:1px solid #e4e7ec;
  border-top:0;
  border-radius:0 0 10px 10px;
}
body#body-item-post .al-pv-skeleton{
  display:block;
  width:52px;
  height:6px;
  margin-bottom:8px;
  border-radius:999px;
  background:#e4e7ec;
}
body#body-item-post .al-pvttl{
  min-height:35px;
  margin:0 0 5px;
  color:#344054;
  font-size:12px;
  font-weight:650;
  line-height:1.45;
}
body#body-item-post .al-pvprice{
  margin:0 0 10px;
  color:#101828;
  font-family:var(--al-display);
  font-size:21px;
  font-weight:900;
}
body#body-item-post .al-pvmeta{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
  color:#667085;
  font-size:10.5px;
}
body#body-item-post .al-pvmeta i{width:12px;color:#98a2b3}
body#body-item-post .al-pvbutton{
  width:100%;
  min-height:38px;
  margin-top:12px;
  border:1px solid #0b9b91;
  border-radius:8px;
  background:#fff;
  color:#087d72;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
body#body-item-post .al-pvbutton:hover{background:#effbf8}
body#body-item-post .al-pvtips{padding:17px 16px}
body#body-item-post .al-pvtips-h{
  margin:0 0 13px;
  color:#101828;
  font-family:var(--al-display);
  font-size:13px;
  font-weight:850;
}
body#body-item-post .al-pvtips-h i{color:#0b9b91;margin-right:7px}
body#body-item-post .al-pvtip{
  align-items:flex-start;
  margin:0 0 10px;
  color:#667085;
  font-size:11px;
  line-height:1.45;
}
body#body-item-post .al-pvtip i{color:#98a2b3}
body#body-item-post .al-pvtip.done i{color:#10a37f;font-weight:900}
body#body-item-post .al-pvboost{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:13px;
  padding:10px 11px;
  border-radius:9px;
  background:#edf9f7;
  color:#087d72;
  font-size:10.5px;
  font-weight:700;
  line-height:1.45;
}
body#body-item-post .al-pvboost i{margin-top:2px;color:#0b9b91}

/* Revisar */
body#body-item-post #al-wiz-review{
  margin:0 22px 18px;
  border-radius:12px;
}
body#body-item-post .about>.in{padding-top:0!important}
body#body-item-post .about .seller{padding-top:4px}

@media(max-width:1100px){
  body#body-item-post .al-pub-grid{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
  body#body-item-post .upload-photos .qq-upload-list{grid-template-columns:repeat(5,minmax(72px,1fr))}
}
@media(max-width:900px){
  body#body-item-post .al-publish-container{padding:0 18px}
  body#body-item-post .al-pub-grid{grid-template-columns:1fr}
  body#body-item-post .al-pub-aside{position:static;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:14px}
}
@media(max-width:700px){
  body#body-item-post .content{padding:16px 0 32px!important}
  body#body-item-post .al-publish-container{padding:0 12px}
  body#body-item-post .al-publish-heading{margin-bottom:15px}
  body#body-item-post .al-publish-heading h1{font-size:23px!important}
  body#body-item-post .al-publish-trust{display:none}
  body#body-item-post .al-pub-aside{display:none}
  body#body-item-post .al-step{border-radius:13px!important}
  body#body-item-post .al-step-heading{padding:17px 16px 8px}
  body#body-item-post .al-step>.in,
  body#body-item-post .box .al-step .in{padding:10px 16px 18px!important}
  body#body-item-post .upload-photos>.box.photos{margin:0 16px 18px!important}
  body#body-item-post .upload-photos .qq-uploader,
  body#body-item-post .upload-photos .qq-upload-drop-area,
  body#body-item-post .upload-photos .qq-upload-button{min-height:165px}
  body#body-item-post .upload-photos .qq-upload-list{display:flex!important;overflow-x:auto;gap:9px;padding-bottom:6px!important}
  body#body-item-post .upload-photos .qq-upload-list li{flex:0 0 92px;width:92px!important}
  body#body-item-post .al-wiz-nav{
    position:sticky;
    bottom:0;
    z-index:30;
    width:calc(100% + 24px);
    margin:14px -12px -12px;
    padding:11px 12px;
    border-top:1px solid #e4e8ee;
    background:rgba(255,255,255,.97);
    box-shadow:0 -8px 20px rgba(16,24,40,.08);
    backdrop-filter:blur(8px);
  }
  body#body-item-post .al-wiz-back{min-width:50px;padding:0 12px;font-size:0}
  body#body-item-post .al-wiz-back i{font-size:14px}
  body#body-item-post .al-wiz-save{display:none}
  body#body-item-post .al-wiz-next{min-width:0;flex:1;max-width:260px}
  body#body-item-post #al-wiz-review{margin:0 16px 15px}
}

html[mode="dark"] body#body-item-post,
html[mode="dark"] body#body-item-post .content{background:#121417!important}
html[mode="dark"] body#body-item-post .al-step,
html[mode="dark"] body#body-item-post .al-pvcard,
html[mode="dark"] body#body-item-post .al-pvtips,
html[mode="dark"] body#body-item-post .al-pvbody,
html[mode="dark"] body#body-item-post .al-wiz-save,
html[mode="dark"] body#body-item-post .al-wiz-back{background:var(--mb-color14)!important;border-color:var(--mb-color10)!important}
html[mode="dark"] body#body-item-post .al-publish-heading h1,
html[mode="dark"] body#body-item-post .al-step-heading h2,
html[mode="dark"] body#body-item-post .al-pvhead strong,
html[mode="dark"] body#body-item-post .al-pvtips-h,
html[mode="dark"] body#body-item-post .al-pvprice{color:var(--mb-color2)!important}
html[mode="dark"] body#body-item-post .al-pvimg{background-color:var(--mb-color12);border-color:var(--mb-color10)}
