:root{
  --bg:#fff; --surface:#ffffff; --muted:#6b6b6b; --accent:#ff3366; --accent-2:#ff7a98;
  --shadow:0 10px 30px rgba(0,0,0,0.08);
  --maxw:1200px;
  --radius:14px;
  --glass: rgba(255,255,255,0.7);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:Inter, 'Segoe UI', Roboto, Arial, sans-serif;background:linear-gradient(180deg,#fff,#fff6fa);color:#222;line-height:1.5}
.wrap{width:92%;max-width:var(--maxw);margin:0 auto}

.topbar{position:sticky;top:0;background:rgba(255,255,255,0.9);backdrop-filter:blur(6px);border-bottom:1px solid rgba(0,0,0,0.04);z-index:80}
.topbar .wrap{display:flex;align-items:center;gap:1rem;padding:.8rem 0}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit}
.logo{width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;box-shadow:var(--shadow)}
.brand-text small{display:block;color:var(--muted);font-size:.85rem}
.main-nav{display:flex;gap:1rem;margin-left:1rem}
.main-nav a{padding:.5rem .7rem;border-radius:8px;color:#333;font-weight:600}
.main-nav a.active{background:linear-gradient(90deg,rgba(255,51,102,0.08),rgba(255,120,152,0.04));color:var(--accent)}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:.6rem}
.btn{border:0;padding:.6rem .9rem;border-radius:10px;cursor:pointer;font-weight:700}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 10px 30px rgba(255,51,102,.12)}
.btn.ghost{background:transparent;border:1px solid rgba(0,0,0,0.06)}
.burger{display:none;background:transparent;border:0;font-size:1.2rem}

.hero{
  padding:5rem 0;
  background:linear-gradient(135deg,#ff3366 0%, #ff7a98 50%, #ff3366 100%);
  color:#fff;
  border-bottom:1px solid rgba(0,0,0,0.08);
}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center;padding:2rem 0}
.hero-title{font-size:clamp(1.8rem,3.2vw,2.6rem);margin-bottom:.6rem;color:#fff}
.hero-sub{color:#f8f8f8;margin-bottom:1rem;font-size:1.1rem;max-width:520px}
.hero-ctas .btn{margin-right:.6rem}
.features{list-style:none;margin-top:1rem;display:grid;gap:.6rem}
.features li{color:#f0f0f0;font-weight:600}

.hero-card{background:var(--surface);border-radius:14px;padding:.6rem;border:1px solid rgba(0,0,0,0.04);box-shadow:var(--shadow);color:#222}
.hero-card img{width:100%;height:250px;object-fit:cover;border-radius:10px}
.hero-card-info{padding:.6rem 0;display:flex;flex-direction:column;gap:.2rem}

.section{margin:2.2rem 0}
.card{background:var(--surface);padding:1.1rem;border-radius:12px;box-shadow:var(--shadow);border:1px solid rgba(0,0,0,0.03)}
.section-head{display:flex;flex-direction:column;gap:.4rem}
.muted{color:var(--muted)}

.controls{display:flex;gap:1rem;align-items:center;margin-top:1rem;flex-wrap:wrap}
.search input{padding:.7rem .9rem;border-radius:10px;border:1px solid rgba(0,0,0,0.06);min-width:260px}
.chip{padding:.5rem .8rem;border-radius:999px;border:1px solid rgba(0,0,0,0.06);background:transparent;cursor:pointer;font-weight:700}
.chip.active{background:linear-gradient(90deg,rgba(255,51,102,0.08),rgba(255,120,152,0.04));color:var(--accent)}

.grid{display:grid;gap:1rem}
.cols-4{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.cols-5{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.product{
  background:linear-gradient(180deg,#fff,#fff);
  border-radius:12px;
  padding:1rem;
  border:1px solid rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  gap:.6rem;
  transition:transform .2s, box-shadow .2s;
}
.product:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.product img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:12px;
}
.product h3{font-size:1.05rem}
.product p{color:var(--muted);font-size:.95rem}
.price{color:var(--accent);font-weight:800;font-size:1.1rem}

.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem;margin-top:.6rem}
.gallery img{width:100%;height:130px;object-fit:cover;border-radius:10px;cursor:pointer;transition:transform .18s}
.gallery img:hover{transform:translateY(-6px)}

.footer{background:transparent;padding:2rem 0;margin-top:1.5rem}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}
.plain-list{list-style:none;padding-left:0}

.whatsapp-float{position:fixed;right:18px;bottom:18px;background:#25D366;color:#fff;border-radius:999px;padding:.75rem .9rem;font-weight:800;box-shadow:0 10px 30px rgba(2,98,60,.15);z-index:999}

.lightbox{position:fixed;inset:0;background:rgba(0,0,0,0.75);display:flex;align-items:center;justify-content:center;padding:2rem;z-index:1200;visibility:hidden;opacity:0;transition:opacity .18s}
.lightbox.open{visibility:visible;opacity:1}
.lightbox img{max-width:92%;max-height:88%;border-radius:12px}
.lb-close{position:absolute;top:22px;right:22px;background:#fff;border-radius:8px;padding:.4rem .6rem;border:0;cursor:pointer}

@media(max-width:1100px){.hero-grid{grid-template-columns:1fr 360px}}
@media(max-width:900px){
  .main-nav{display:none}
  .burger{display:block}
  .hero-grid{grid-template-columns:1fr}
  .two-cols{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .product img{height:250px}
  .hero{padding:3rem 0}
  .logo{width:44px;height:44px}
}

/* 🔹 Ajustes adicionales responsive */

/* Menú hamburguesa en móvil */
.main-nav.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  z-index: 1000;
}
.main-nav.open a {
  padding: .7rem 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

/* Grilla catálogo: tablet y móvil */
@media (max-width: 900px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding: 1rem 0;
  }
  .hero-card img {
    height: 200px;
  }
}
