/* ============================================================
   RemateStock — estilos (portados 1:1 del diseño de Claude Design)
   Paleta: azul #16436E · naranjo #E8721C · verde WhatsApp #1DA851
   Tipografía: Barlow (local)
   ============================================================ */

/* ---------- Barlow ---------- */
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/barlow-500-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/barlow-500-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:600; font-display:swap;
  src:url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:600; font-display:swap;
  src:url("../fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:800; font-display:swap;
  src:url("../fonts/barlow-800-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:800; font-display:swap;
  src:url("../fonts/barlow-800-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- base ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --navy:#16436E; --navy-dark:#12293F; --orange:#E8721C; --orange-h:#CF6210;
  --green:#1DA851; --green-h:#178A42;
  --bg:#F2F5F7; --ink:#17222C; --ink-2:#2C3B48; --ink-3:#3D4E5C;
  --muted:#5B6B7A; --faint:#7A8B99; --lighter:#93A6B5;
  --line:#E2E8ED; --line-2:#DCE4EA; --line-3:#EDF1F4; --check:#B9C6D0;
  --hatch:repeating-linear-gradient(45deg,#ECF0F3 0 12px,#F6F8FA 12px 24px);
}
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); font-family:'Barlow',system-ui,sans-serif; color:var(--ink); }
input, button, select, textarea { font-family:inherit; }
button {
  cursor:pointer; font:inherit; color:inherit; background:none; border:none;
  padding:0; margin:0; text-align:inherit; -webkit-appearance:none; appearance:none;
}
a { color:inherit; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

#app { min-height:100vh; display:flex; flex-direction:column; }
.shell { min-height:100vh; display:flex; flex-direction:column; }
main { flex:1; width:100%; }
.wrap { max-width:1200px; margin:0 auto; padding-left:16px; padding-right:16px; }

.u-mobile-only { display:block; }
.u-desktop-only { display:none; }
@media (min-width:900px) {
  .u-mobile-only { display:none; }
  .u-desktop-only { display:block; }
}

/* ---------- header ---------- */
.hdr { background:#FFFFFF; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40; }
.hdr__row { max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.logo { cursor:pointer; display:flex; align-items:baseline; gap:2px; user-select:none; background:none; border:none; padding:0; }
.logo__name { font-size:22px; font-weight:800; letter-spacing:-0.5px; color:var(--navy); }
.logo__dot { width:8px; height:8px; background:var(--orange); border-radius:2px; transform:translateY(-1px); display:inline-block; }
.hdr__search { flex:1 1 220px; min-width:180px; display:flex; background:var(--bg); border:1px solid var(--line-2); border-radius:8px; overflow:hidden; }
.hdr__search input { flex:1; border:none; background:transparent; padding:9px 12px; font-size:15px; outline:none; color:var(--ink); min-width:0; }
.hdr__search button { border:none; background:var(--navy); color:#FFFFFF; font-weight:600; font-size:14px; padding:0 16px; }
.hdr__nav { display:none; gap:18px; align-items:center; margin-left:auto; }
.hdr__link { font-size:15px; font-weight:600; color:var(--ink-3); cursor:pointer; background:none; border:none; padding:0; }
.hdr__link:hover { color:var(--navy); }
.btn-wa-sm { text-decoration:none; background:var(--green); color:#FFFFFF; font-weight:700; font-size:14px; padding:9px 16px; border-radius:8px; }
.btn-wa-sm:hover { background:var(--green-h); }
@media (min-width:900px) { .hdr__nav { display:flex; } }

.chips { border-top:1px solid var(--line-3); background:#FFFFFF; }
.chips__row { max-width:1200px; margin:0 auto; padding:8px 16px; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
.chips__row::-webkit-scrollbar { display:none; }
.chip { border:1px solid var(--line-2); background:#FFFFFF; color:var(--ink-3); font-weight:600; font-size:13.5px; padding:7px 13px; border-radius:999px; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.chip:hover { border-color:var(--navy); color:var(--navy); }
.chip--active { border-color:var(--navy); background:var(--navy); color:#FFFFFF; }
.chip--active:hover { color:#FFFFFF; }
.chip--bold { font-weight:700; }

/* ---------- hero ---------- */
.hero { background:var(--navy); padding:36px 16px 44px; }
.hero__inner { max-width:760px; margin:0 auto; text-align:center; }
.hero h1 { margin:0 0 8px; color:#FFFFFF; font-size:clamp(24px,4.5vw,38px); font-weight:800; letter-spacing:-0.5px; line-height:1.15; }
.hero p { margin:0 0 22px; color:#A9C3DC; font-size:clamp(15px,2.2vw,18px); font-weight:500; }
.hero__search { display:flex; background:#FFFFFF; border-radius:10px; overflow:hidden; box-shadow:0 6px 24px rgba(9,30,50,0.30); }
.hero__search input { flex:1; border:none; padding:16px 18px; font-size:16px; outline:none; color:var(--ink); min-width:0; }
.hero__search button { border:none; background:var(--orange); color:#FFFFFF; font-weight:700; font-size:16px; padding:0 26px; }
.hero__search button:hover { background:var(--orange-h); }
.hero__ticks { margin-top:14px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero__ticks span { color:#7FA3C4; font-size:13px; font-weight:600; }

/* ---------- secciones home ---------- */
.sec { max-width:1200px; margin:0 auto; padding:26px 16px 6px; }
.sec h2 { margin:0 0 14px; font-size:19px; font-weight:700; color:var(--ink); }
.sec__head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.sec__head h2 { margin:0; }
.link-strong { font-size:14px; font-weight:700; color:var(--navy); cursor:pointer; white-space:nowrap; background:none; border:none; padding:0; }
.link-strong:hover { color:var(--orange); }

.catgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.cattile { background:#FFFFFF; border:1px solid var(--line); border-radius:10px; padding:14px 12px; display:flex; align-items:center; gap:10px; cursor:pointer; text-align:left; }
.cattile:hover { border-color:var(--navy); box-shadow:0 2px 10px rgba(22,67,110,0.10); }
.cattile__mono { width:38px; height:38px; border-radius:8px; background:#E7EEF5; color:var(--navy); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cattile__label { font-size:14px; font-weight:600; color:var(--ink-2); line-height:1.2; }

/* ---------- tarjetas de producto ---------- */
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(155px,1fr)); gap:10px; }
.card { background:#FFFFFF; border:1px solid var(--line); border-radius:10px; overflow:hidden; cursor:pointer; display:flex; flex-direction:column; animation:fadeUp .3s ease both; text-align:left; padding:0; }
.card:hover { border-color:var(--navy); box-shadow:0 3px 12px rgba(22,67,110,0.12); }
.card__img { position:relative; aspect-ratio:1; background:var(--hatch); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card__img img { width:100%; height:100%; object-fit:cover; display:block; }
.card__tag { font-family:ui-monospace,SFMono-Regular,monospace; font-size:11px; color:var(--lighter); }
.flag-last { position:absolute; top:8px; left:8px; background:var(--orange); color:#FFFFFF; font-size:11px; font-weight:700; padding:3px 8px; border-radius:5px; }
.card__body { padding:10px 12px 12px; display:flex; flex-direction:column; gap:6px; flex:1; }
.badge { align-self:flex-start; font-size:11px; font-weight:700; padding:3px 8px; border-radius:5px; }
.card__name { font-size:14px; font-weight:600; color:var(--ink-2); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:36px; }
.card__brand { font-size:12px; color:var(--faint); font-weight:500; }
.card__price { margin-top:auto; font-size:17px; font-weight:800; color:var(--navy); }

/* ---------- cómo funciona (home) ---------- */
.how-box { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:22px 18px; }
.how-box h2 { margin:0 0 16px; font-size:19px; font-weight:700; }
.how-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.step { display:flex; gap:12px; align-items:flex-start; }
.step__n { width:30px; height:30px; border-radius:50%; background:var(--navy); color:#FFFFFF; font-weight:800; font-size:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.step__t { font-weight:700; font-size:15px; }
.step__d { font-size:13.5px; color:var(--muted); line-height:1.4; }

/* ---------- catálogo ---------- */
.cat-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.cat-head h1 { margin:0; font-size:21px; font-weight:800; color:var(--ink); }
.cat-count { font-size:13.5px; color:var(--faint); font-weight:600; }
.cat-layout { display:flex; gap:22px; align-items:flex-start; }
.filters { flex:0 0 240px; background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:4px 16px 14px; position:sticky; top:110px; }
.fsec { border-bottom:1px solid var(--line-3); padding:12px 0 10px; }
.fsec__title { font-size:12px; font-weight:800; letter-spacing:0.4px; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.fopt { display:flex; align-items:center; gap:9px; padding:5px 4px; border-radius:6px; cursor:pointer; background:none; border:none; width:100%; text-align:left; }
.fopt:hover { background:var(--bg); }
.fopt__box { width:17px; height:17px; border:2px solid var(--check); border-radius:4px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.fopt__box span { width:9px; height:9px; background:var(--navy); border-radius:2px; display:block; }
.fopt__label { flex:1; font-size:14px; font-weight:500; color:var(--ink-2); }
.fopt__count { font-size:11.5px; color:var(--lighter); font-weight:600; }
.btn-clear { margin-top:12px; width:100%; border:1px solid var(--line-2); background:#FFFFFF; color:var(--muted); font-weight:600; font-size:13.5px; padding:9px; border-radius:8px; }
.btn-clear:hover { border-color:var(--navy); color:var(--navy); }
.sortrow { display:flex; gap:8px; margin-bottom:12px; align-items:center; }
.sortrow__label { font-size:13px; font-weight:700; color:var(--muted); }
.mob-bar { display:flex; gap:8px; align-items:center; overflow-x:auto; padding-bottom:10px; scrollbar-width:none; }
.mob-bar::-webkit-scrollbar { display:none; }
.mob-filters { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:4px 16px 14px; margin-bottom:14px; }
.mob-filters .fsec { padding:12px 0 10px; }
.mob-filters .fopt { gap:10px; padding:6px 4px; }
.mob-filters .fopt__box { width:18px; height:18px; }
.mob-filters .fopt__box span { width:10px; height:10px; }
.mob-filters .fopt__label { font-size:14.5px; }
.mob-filters .fopt__count { font-size:12px; }
.mob-actions { display:flex; gap:10px; margin-top:12px; }
.mob-actions .btn-see { flex:1; border:none; background:var(--navy); color:#FFFFFF; font-weight:700; font-size:15px; padding:11px; border-radius:8px; }
.mob-actions .btn-cl { border:1px solid var(--line-2); background:#FFFFFF; color:var(--muted); font-weight:600; font-size:14px; padding:11px 14px; border-radius:8px; }
.loadmore { text-align:center; margin-top:18px; }
.loadmore button { border:1px solid var(--navy); background:#FFFFFF; color:var(--navy); font-weight:700; font-size:15px; padding:11px 26px; border-radius:8px; }
.loadmore button:hover { background:var(--navy); color:#FFFFFF; }
.noresults { background:#FFFFFF; border:1px dashed #C9D4DC; border-radius:12px; padding:40px 20px; text-align:center; }
.noresults__t { font-size:17px; font-weight:700; color:var(--ink-2); margin-bottom:6px; }
.noresults__d { font-size:14px; color:var(--faint); margin-bottom:16px; }
.noresults__row { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.noresults__row .btn-cl { border:1px solid var(--line-2); background:#FFFFFF; color:var(--muted); font-weight:600; font-size:14px; padding:10px 16px; border-radius:8px; }
.btn-wa { text-decoration:none; background:var(--green); color:#FFFFFF; font-weight:700; font-size:14px; padding:10px 16px; border-radius:8px; display:inline-block; }
.btn-wa:hover { background:var(--green-h); }

/* ---------- ficha de producto ---------- */
.crumbs { font-size:13px; color:var(--faint); font-weight:600; margin-bottom:12px; }
.crumbs button { cursor:pointer; color:var(--navy); background:none; border:none; font:inherit; padding:0; }
.crumbs button:hover { color:var(--orange); }
.prod { display:flex; gap:24px; flex-wrap:wrap; align-items:flex-start; }
.prod__gal { flex:1 1 340px; min-width:280px; }
.prod__main { position:relative; aspect-ratio:1; background:repeating-linear-gradient(45deg,#ECF0F3 0 14px,#F6F8FA 14px 28px); border:1px solid var(--line); border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.prod__main img { width:100%; height:100%; object-fit:contain; display:block; background:#FFFFFF; }
.prod__main .card__tag { font-size:12px; }
.prod__main .flag-last { top:12px; left:12px; font-size:12px; padding:4px 10px; border-radius:6px; }
.prod__thumbs { display:flex; gap:8px; margin-top:8px; }
.pthumb { flex:1; aspect-ratio:1; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:center; background:repeating-linear-gradient(45deg,#ECF0F3 0 10px,#F6F8FA 10px 20px); border:1px solid var(--line); overflow:hidden; padding:0; }
.pthumb img { width:100%; height:100%; object-fit:cover; display:block; }
.pthumb--on { border:2px solid var(--navy); }
.pthumb span { font-family:ui-monospace,SFMono-Regular,monospace; font-size:10px; color:var(--lighter); }
.prod__info { flex:1 1 320px; min-width:280px; display:flex; flex-direction:column; gap:14px; }
.prod__badges { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.badge-lg { font-size:12px; font-weight:700; padding:4px 10px; border-radius:6px; }
.badge-cat { background:var(--line-3); color:var(--muted); }
.prod__info h1 { margin:0 0 6px; font-size:clamp(20px,3vw,26px); font-weight:800; line-height:1.2; color:var(--ink); }
.prod__meta { font-size:14px; color:var(--faint); font-weight:600; }
.prod__price { font-size:32px; font-weight:800; color:var(--navy); letter-spacing:-0.5px; }
.btn-wa-big { text-decoration:none; background:var(--green); color:#FFFFFF; font-weight:800; font-size:17px; padding:16px; border-radius:10px; text-align:center; box-shadow:0 4px 14px rgba(29,168,81,0.35); display:block; }
.btn-wa-big:hover { background:var(--green-h); }
.prod__note { font-size:13px; color:var(--faint); text-align:center; margin-top:-6px; }
.panel { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:16px 18px; }
.panel__title { font-size:13px; font-weight:800; letter-spacing:0.4px; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.panel p { margin:0; font-size:15px; line-height:1.55; color:var(--ink-2); text-wrap:pretty; white-space:pre-line; }
.spec { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:6px 18px; }
.spec__row { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line-3); font-size:14.5px; }
.spec__row:last-child { border-bottom:none; }
.spec__row span:first-child { color:var(--faint); font-weight:600; }
.spec__row span:last-child { font-weight:700; color:var(--ink-2); }
.related { margin-top:28px; }
.related h2 { margin:0 0 12px; font-size:18px; font-weight:700; color:var(--ink); }

/* ---------- cómo comprar / contacto ---------- */
.page { max-width:760px; margin:0 auto; padding:26px 16px 36px; }
.page h1 { margin:0 0 6px; font-size:26px; font-weight:800; color:var(--ink); }
.page__intro { margin:0 0 22px; font-size:16px; color:var(--muted); line-height:1.5; }
.howsteps { display:flex; flex-direction:column; gap:12px; }
.howstep { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:18px; display:flex; gap:14px; align-items:flex-start; }
.howstep__n { width:34px; height:34px; border-radius:50%; background:var(--navy); color:#FFFFFF; font-weight:800; font-size:15px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.howstep__t { font-weight:700; font-size:16px; margin-bottom:4px; }
.howstep__d { font-size:14.5px; color:var(--muted); line-height:1.5; }
.cta-band { margin-top:22px; background:#E7EEF5; border-radius:12px; padding:18px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:space-between; }
.cta-band__t { font-size:15.5px; font-weight:700; color:var(--navy); }
.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.ccard { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:18px; display:flex; flex-direction:column; gap:8px; }
.ccard__k { font-size:12px; font-weight:800; letter-spacing:0.4px; text-transform:uppercase; color:var(--muted); }
.ccard__big { font-size:18px; font-weight:800; color:var(--ink); }
.ccard__addr { font-size:16px; font-weight:700; color:var(--ink); line-height:1.4; }
.ccard__ref { font-size:14px; color:var(--muted); }
.ccard__row { display:flex; justify-content:space-between; font-size:14.5px; }
.ccard__row span:first-child { color:var(--muted); font-weight:600; }
.ccard__row span:last-child { font-weight:700; }
.ccard__row .closed { color:#B25A0D; }
.ccard .btn-wa { text-align:center; margin-top:4px; padding:11px; font-size:14.5px; }
.map-ph { margin-top:12px; background:repeating-linear-gradient(45deg,#ECF0F3 0 14px,#F6F8FA 14px 28px); border:1px solid var(--line); border-radius:12px; height:200px; display:flex; align-items:center; justify-content:center; }
.map-ph span { font-family:ui-monospace,SFMono-Regular,monospace; font-size:12px; color:var(--lighter); }

/* ---------- footer ---------- */
.ftr { background:var(--navy-dark); color:#A9C3DC; margin-top:auto; }
.ftr__grid { max-width:1200px; margin:0 auto; padding:28px 16px; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:22px; }
.ftr__logo { display:flex; align-items:baseline; gap:2px; margin-bottom:8px; }
.ftr__logo span:first-child { font-size:19px; font-weight:800; color:#FFFFFF; }
.ftr__logo span:last-child { width:7px; height:7px; background:var(--orange); border-radius:2px; display:inline-block; }
.ftr p { margin:0; font-size:14px; line-height:1.5; }
.ftr__col { display:flex; flex-direction:column; gap:8px; }
.ftr__k { font-size:12px; font-weight:800; letter-spacing:0.5px; text-transform:uppercase; color:#6E8BA5; }
.ftr__link { font-size:14.5px; cursor:pointer; color:#D4E2EE; background:none; border:none; padding:0; text-align:left; }
.ftr__link:hover { color:#FFFFFF; }
.ftr__col span { font-size:14.5px; }
.ftr__bottom { border-top:1px solid #1E3A55; }
.ftr__bottom-in { max-width:1200px; margin:0 auto; padding:12px 16px; display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:12.5px; color:#6E8BA5; }
.ftr__admin { cursor:pointer; background:none; border:none; color:#6E8BA5; font:inherit; padding:0; }
.ftr__admin:hover { color:#D4E2EE; }

/* ---------- FAB WhatsApp ---------- */
.fab { position:fixed; bottom:18px; right:18px; z-index:50; text-decoration:none; background:var(--green); color:#FFFFFF; font-weight:800; font-size:15px; padding:13px 20px; border-radius:999px; box-shadow:0 6px 20px rgba(9,50,25,0.35); display:flex; align-items:center; gap:8px; }
.fab:hover { background:var(--green-h); }
.fab__dot { width:9px; height:9px; background:#FFFFFF; border-radius:50%; display:inline-block; }

/* ---------- estados de carga ---------- */
.loading { padding:60px 16px; text-align:center; color:var(--faint); font-weight:600; font-size:15px; }
.spin { display:inline-block; width:22px; height:22px; border:3px solid var(--line-2); border-top-color:var(--navy); border-radius:50%; animation:rspin .7s linear infinite; vertical-align:middle; margin-right:10px; }
@keyframes rspin { to { transform:rotate(360deg); } }

/* ============================================================
   Panel del dueño
   ============================================================ */
.adm-wrap { max-width:680px; margin:0 auto; padding:26px 16px 60px; }
.adm-wide { max-width:860px; }
.adm-title-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.adm-title-row h1 { margin:0; font-size:24px; font-weight:800; color:var(--ink); }
.adm-sub { margin:0 0 20px; font-size:15px; color:var(--muted); line-height:1.5; }
.adm-card { background:#FFFFFF; border:1px solid var(--line); border-radius:12px; padding:20px; display:flex; flex-direction:column; gap:16px; }
.adm-label { font-size:13px; font-weight:700; color:var(--ink-2); margin-bottom:6px; }
.adm-input, .adm-select, .adm-textarea { width:100%; border:1px solid var(--line-2); border-radius:8px; padding:11px 12px; font-size:15px; outline:none; background:#FFFFFF; color:var(--ink-2); }
.adm-input:focus, .adm-select:focus, .adm-textarea:focus { border-color:var(--navy); }
.adm-textarea { resize:vertical; }
.adm-grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.adm-drop { border:2px dashed var(--check); border-radius:10px; padding:26px; text-align:center; background:#F8FAFB; cursor:pointer; }
.adm-drop__t { font-size:14.5px; font-weight:700; color:var(--navy); }
.adm-drop__d { font-size:13px; color:var(--lighter); margin-top:4px; }
.adm-photos { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.adm-photo { position:relative; width:84px; height:84px; border-radius:8px; overflow:hidden; border:1px solid var(--line); }
.adm-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.adm-photo__x { position:absolute; top:3px; right:3px; width:22px; height:22px; border-radius:50%; border:none; background:rgba(23,34,44,0.75); color:#FFFFFF; font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; }
.adm-photo__cover { position:absolute; left:0; right:0; bottom:0; background:rgba(22,67,110,0.85); color:#FFFFFF; font-size:10px; font-weight:700; text-align:center; padding:2px 0; }
.adm-actions { display:flex; gap:10px; flex-wrap:wrap; }
.btn-primary { flex:1 1 200px; border:none; background:var(--orange); color:#FFFFFF; font-weight:800; font-size:16px; padding:14px; border-radius:10px; }
.btn-primary:hover { background:var(--orange-h); }
.btn-primary:disabled { opacity:0.6; cursor:default; }
.btn-secondary { flex:0 1 auto; border:1px solid var(--line-2); background:#FFFFFF; color:var(--muted); font-weight:600; font-size:15px; padding:14px 18px; border-radius:10px; }
.btn-navy { border:none; background:var(--navy); color:#FFFFFF; font-weight:700; font-size:15px; padding:12px 18px; border-radius:8px; }
.btn-navy:hover { background:#0F3355; }
.btn-navy:disabled { opacity:0.6; cursor:default; }
.adm-hint { font-size:13px; color:var(--lighter); }
.adm-tag { font-size:11px; font-weight:700; padding:4px 10px; border-radius:6px; background:#FDEFDF; color:#B25A0D; }
.adm-tabs { display:flex; gap:8px; margin:0 0 18px; flex-wrap:wrap; }
.adm-msg { border-radius:8px; padding:11px 14px; font-size:14px; font-weight:600; }
.adm-msg--ok { background:#E3F4E8; color:#1B7A3D; }
.adm-msg--err { background:#FCE8E8; color:#B02A2A; }
.adm-list { display:flex; flex-direction:column; gap:10px; }
.adm-item { background:#FFFFFF; border:1px solid var(--line); border-radius:10px; padding:12px 14px; display:flex; gap:12px; align-items:center; }
.adm-item__img { width:56px; height:56px; border-radius:8px; background:var(--hatch); flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.adm-item__img img { width:100%; height:100%; object-fit:cover; display:block; }
.adm-item__img span { font-family:ui-monospace,monospace; font-size:9px; color:var(--lighter); text-align:center; }
.adm-item__body { flex:1; min-width:0; }
.adm-item__name { font-size:14.5px; font-weight:700; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.adm-item__meta { font-size:12.5px; color:var(--faint); font-weight:600; margin-top:2px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.adm-status { font-size:10.5px; font-weight:800; padding:2px 8px; border-radius:5px; text-transform:uppercase; letter-spacing:0.3px; }
.adm-status--active { background:#E3F4E8; color:#1B7A3D; }
.adm-status--sold { background:#FCE8E8; color:#B02A2A; }
.adm-status--draft { background:var(--line-3); color:var(--muted); }
.adm-item__btns { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.btn-mini { border:1px solid var(--line-2); background:#FFFFFF; color:var(--ink-3); font-weight:600; font-size:12.5px; padding:7px 10px; border-radius:7px; white-space:nowrap; }
.btn-mini:hover { border-color:var(--navy); color:var(--navy); }
.btn-mini--danger:hover { border-color:#B02A2A; color:#B02A2A; }
.adm-login { max-width:400px; margin:8vh auto 0; }
.adm-topbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.adm-topbar__links { display:flex; gap:8px; flex-wrap:wrap; }

@media (max-width:560px) {
  .adm-item { flex-wrap:wrap; }
  .adm-item__btns { width:100%; justify-content:flex-start; }
}
