/* ============================================================
   FRUTTI FRUIT CHILE — Versión Final (Light + corporativo)
   ============================================================ */
:root{
  --bg: #ffffff;
  --panel: #ffffff;
  --muted: #666666;
  --text: #1e1e1e;
  --brand: #E40514;
  --accent: #81b929;
  --border: #E5E5E5;
  --container: 1200px;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block}
.container{max-width:var(--container);padding:0 20px;margin:0 auto}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 2px 10px rgba(0,0,0,.04)}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:800}
.logo{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,var(--brand),var(--accent))}
.main-nav{display:flex;gap:24px}
.main-nav a{color:var(--text);text-decoration:none;opacity:.85;font-weight:600}
.main-nav a:hover{color:var(--brand);opacity:1}
.nav-toggle{display:none;background:none;border:1px solid var(--border);color:var(--text);padding:6px 10px;border-radius:8px}

/* Hero */
.hero{position:relative;min-height:70vh;display:grid;place-items:center;background:#f7f7f7}
.hero-bg{position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1563201188-a2f1a2715a7d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;opacity:.35}
.hero-content{position:relative;text-align:center;padding:40px 20px}
.hero-title{font-size:clamp(28px,4vw,48px);line-height:1.1;margin:0 0 12px;font-weight:800;color:var(--text)}
.hero-sub{max-width:820px;margin:0 auto 22px;color:var(--muted);font-size:clamp(16px,2vw,18px)}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:12px;text-decoration:none;font-weight:700;border:2px solid transparent;transition:.25s}
.btn-primary{background:var(--brand);color:white;border-color:var(--brand)}
.btn-outline{background:transparent;color:var(--brand);border-color:var(--brand)}
.btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.btn-outline:hover{background:var(--brand);color:#fff}

/* Brands strip */
.brands{padding:50px 0;background:#fff}
.brands-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:40px}
.brand-item{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px 24px;box-shadow:var(--shadow);transition:.2s}
.brand-item:hover{transform:translateY(-4px);border-color:var(--accent)}
.brand-item img{max-height:50px;}

/* Categories */
.categories{padding:60px 0;background:#f9f9f9}
.section-title{font-size:clamp(22px,3vw,32px);margin:0 0 24px;text-align:center;font-weight:800;color:var(--text)}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.cat-card{display:grid;place-items:center;height:98px;border:1px solid var(--border);border-radius:14px;text-decoration:none;color:var(--text);background:#fff;box-shadow:var(--shadow);font-weight:600;transition:.25s}
.cat-card:hover{color:var(--accent);border-color:var(--accent)}

/* Catalog grid */
.catalogo{padding:40px 0 64px;background:#fff}
.catalogo-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.filters{display:flex;gap:10px;flex-wrap:wrap}
.filters input,.filters select{background:#fff;border:1px solid var(--border);color:var(--text);padding:10px 12px;border-radius:12px;min-width:220px;box-shadow:var(--shadow)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:.25s}
.card:hover{transform:translateY(-4px)}
.thumb{background:#f5f5f5 center/cover no-repeat;height:180px}
.content{padding:18px}
.badge{display:inline-block;font-size:12px;letter-spacing:.08em;border:1px solid var(--border);padding:3px 8px;border-radius:20px;margin-bottom:8px;background:#fafafa;color:var(--accent);font-weight:700}
h3{margin:0 0 6px}
.muted{color:var(--muted);font-weight:600}
.meta{color:var(--muted);margin-bottom:8px}
.price{font-weight:800;margin:6px 0 10px;color:var(--brand)}
.tags{display:flex;gap:8px;flex-wrap:wrap}
.tag{font-size:12px;border:1px solid var(--border);padding:4px 8px;border-radius:20px;color:var(--muted)}
.cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

/* CTA RM */
.cta.rm{padding:60px 0;background:#f9f9f9;text-align:center}
.cta.rm h2{margin:0 0 8px;font-weight:800;color:var(--text)}
.cta.rm p{color:var(--muted);margin:0 0 14px}

/* Contacto */
.contacto{padding:60px 0;background:#fff}
.contact-form .form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.contact-form .form-group.full{grid-column:1/-1}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;background:#fff;border:1px solid var(--border);color:var(--text);
  padding:10px 12px;border-radius:12px;outline:none;box-shadow:var(--shadow)
}
.form-response{margin-top:10px;color:var(--accent);min-height:20px}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:var(--text);color:#fff}
.site-footer a{color:var(--accent);text-decoration:none}
.site-footer .footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:24px 0}
.copy{color:#ddd;padding:14px 0;border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:14px}

/* WhatsApp float */
.whatsapp-float{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;
  background:#25D366;display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.whatsapp-float img{width:30px;height:30px;filter:invert(1) saturate(0) brightness(200%)}

/* Responsive */
@media (max-width: 820px){
  .main-nav{display:none}
  .nav-toggle{display:block}
  .site-footer .footer-grid{grid-template-columns:1fr}
  .contact-form .form-grid{grid-template-columns:1fr}
}

/* ======= FIX MENÚ HAMBURGUESA INVISIBLE ======= */
#mobileMenu,
#menuPanel {
  position: fixed !important;
  z-index: 999999 !important;
  isolation: isolate !important;
}

section.relative.bg-cover,
section.relative.bg-cover * {
  z-index: 0 !important;
  transform: none !important;
  isolation: auto !important;
}

