:root{
  --bg:#f7f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --shadow:0 12px 30px rgba(17,24,39,.10);
  --wa:#25D366;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:
    radial-gradient(900px 450px at 15% 0%, rgba(37,211,102,.10), transparent 60%),
    radial-gradient(900px 450px at 85% 10%, rgba(17,24,39,.06), transparent 60%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:min(1150px,92vw);margin:0 auto}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  padding:12px 0;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  flex-wrap:wrap;
}

/* Brand */
.brand{display:flex;align-items:center;gap:12px;min-width:200px}
.brand-logo{
  width:56px;                 /* ✅ más grande */
  height:56px;                /* ✅ más grande */
  border-radius:16px;
  background:#fff;border:1px solid var(--line);
  box-shadow:0 10px 22px rgba(17,24,39,.10);
  padding:7px; object-fit:contain;
}
.brand-title{font-weight:950;line-height:1;font-size:18px}
.brand-sub{font-size:12px;color:var(--muted);margin-top:4px}

/* Actions */
.actions{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  padding:10px 14px;border-radius:999px;
  border:1px solid var(--line);
  background:#fff;font-weight:900;
  box-shadow:0 10px 22px rgba(17,24,39,.08);
}
.chip-wa{
  background:var(--wa);
  border:none;
  color:#0b1b12;
}

/* Hero */
.hero{padding:16px 0 8px}
.hero-banner{
  height:150px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#eef2f6;
}
.hero-banner img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}

/* Hero card */
.hero-card{
  margin-top:14px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.kicker{
  font-size:12px;letter-spacing:.22em;
  text-transform:uppercase;color:var(--muted);
}
.hero-card h1{
  margin:8px 0 8px;
  font-size:30px;line-height:1.08;
}
.hero-card p{margin:0;color:rgba(17,24,39,.82);line-height:1.5}

.cta{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.btn{
  padding:12px 16px;border-radius:14px;
  font-weight:950;border:1px solid var(--line);
  background:#fff;box-shadow:0 10px 22px rgba(17,24,39,.08);
}
.btn-dark{background:#111827;color:#fff;border:none}
.btn-wa{background:var(--wa);color:#0b1b12;border:none}

/* Info boxes */
.info-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.info-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
}
.info-title{font-weight:950;margin-bottom:6px}
.info-text{color:rgba(17,24,39,.82);font-size:14px;line-height:1.45}

/* Section */
.section{padding:10px 0 40px}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:10px;
  margin:10px 0 12px;
  flex-wrap:wrap;
}
.section-head h2{margin:0;font-size:18px;font-weight:950}
.muted{color:var(--muted);font-size:13px}

/* ✅ Grid: por defecto 3+ en desktop */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:14px;
}

/* ✅ En celular: 2 por fila */
@media (max-width: 720px){
  .grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }
}

/* Cards */
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 12px 26px rgba(17,24,39,.10);
}

.card-btn{
  width:100%;
  text-align:left;
  padding:0;
  cursor:pointer;
  border:none;
  background:transparent;
}

.media{position:relative;background:#eef2f6}
.media img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}

/* precio */
.price{
  position:absolute;
  left:10px;bottom:10px;
  background:rgba(255,255,255,.95);
  border:1px solid var(--line);
  padding:7px 10px;
  border-radius:999px;
  font-weight:950;
}

.card-body{padding:10px}
.card-title{font-weight:950;margin:0 0 4px;font-size:14px}
.card-meta{color:var(--muted);font-size:12px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.80);
  padding:18px 0 26px;
}
.footer-inner{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  flex-wrap:wrap;
}
.footer-title{font-weight:950}
.footer-muted{color:var(--muted);margin-top:4px}
.footer-actions{display:flex;gap:8px;flex-wrap:wrap}

/* Floating WhatsApp */
.fab{
  position:fixed;
  right:14px;
  bottom:14px;
  width:56px;height:56px;
  border-radius:18px;
  display:grid;place-items:center;
  background:var(--wa);
  color:#0b1b12;
  font-size:22px;
  box-shadow:0 16px 35px rgba(17,24,39,.22);
}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:#111827;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  box-shadow:0 14px 30px rgba(0,0,0,.25);
  font-weight:800;
  z-index:80;
}
.toast.show{opacity:1}

/* ✅ Lightbox (pantalla completa al click) */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
  padding:18px;
}
.lightbox.show{display:flex}

.lightbox img{
  max-width:min(980px, 96vw);
  max-height:86vh;
  border-radius:16px;
  background:#111;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}

.lightbox .close{
  position:absolute;
  top:14px;
  right:14px;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:20px;
  font-weight:900;
  display:grid;
  place-items:center;
}

@media (max-width:720px){
  .hero-banner{height:130px}
  .hero-card h1{font-size:26px}
  .info-grid{grid-template-columns:1fr}
}