/* ============================================================
   VILBER® — HOME v3.0 OPCIÓN B
   Responsivo: móvil primero → tablet 600px → desktop 900px → 1200px
   ============================================================ */

/* ── RESET ── */
#vilber-home *{box-sizing:border-box;margin:0;padding:0;}
#vilber-home{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.7;color:#1C1917;background:#FAF8F3;
  overflow-x:hidden;width:100%;
}
#vilber-home img{max-width:100%;display:block;}
#vilber-home a{text-decoration:none;color:inherit;}
#vilber-home ul{list-style:none;}
#vilber-home h1,#vilber-home h2,#vilber-home h3{
  font-family:Georgia,'Times New Roman',serif;line-height:1.15;
}
#vilber-home h1{font-size:2rem;font-weight:900;}
#vilber-home h2{font-size:1.25rem;font-weight:700;}
#vilber-home p{font-size:.9rem;color:#3D3936;}

/* ── VARIABLES ── */
#vilber-home{
  --red:#D94032;--red-dk:#b8342a;
  --teal:#76C8CC;--teal-dk:#5AABB0;
  --warm:#D9D5C5;--cream:#FAF8F3;--cream-dk:#F0EDE4;
  --ink:#1C1917;--ink-s:#3D3936;--ink-m:#6B6560;
  --white:#fff;
  --r:12px;--r-lg:20px;--r-pill:999px;
  --sh:0 2px 12px rgba(28,25,23,.10);
  --sh-red:0 6px 24px rgba(217,64,50,.28);
  --pad-x:1rem;
}

/* ── BOTONES ── */
#vilber-home .vbtn{
  display:block;text-align:center;font-weight:800;
  border-radius:var(--r-pill);cursor:pointer;
  transition:transform .15s,background .15s;border:none;
}
#vilber-home .vbtn:active{transform:scale(.97);}
#vilber-home .vbtn-red{
  background:var(--red);color:#fff;
  padding:.9rem 1.5rem;font-size:.95rem;box-shadow:var(--sh-red);
}
#vilber-home .vbtn-red:hover{background:var(--red-dk);}
#vilber-home .vbtn-outline{
  background:transparent;color:#fff;
  padding:.82rem 1.5rem;font-size:.88rem;
  border:1.5px solid rgba(255,255,255,.35);
}

/* ── ANN BAR ── */
#vilber-home .ann-bar{
  background:var(--ink);color:#fff;text-align:center;
  padding:.45rem 1rem;font-size:10.5px;font-weight:700;letter-spacing:.04em;
}
#vilber-home .ann-bar em{color:var(--teal);font-style:normal;}

/* ── TOPBAR ── */
#vilber-home .topbar{
  background:#fff;border-bottom:1px solid var(--warm);
  padding:.72rem var(--pad-x);
  display:flex;align-items:center;justify-content:space-between;
  box-shadow:var(--sh);position:relative;z-index:20;
}
#vilber-home .topbar__logo{
  font-family:Georgia,serif;font-size:1.45rem;font-weight:900;color:var(--red);
}
#vilber-home .topbar__logo span{color:var(--teal-dk);}
#vilber-home .topbar__logo-img{height:42px;width:auto;}

/* NAV oculto en móvil */
#vilber-home .topbar__nav{display:none;}

#vilber-home .topbar__actions{display:flex;gap:.45rem;}
#vilber-home .topbar__icon{
  width:34px;height:34px;border-radius:50%;background:var(--cream);
  border:1px solid var(--warm);display:flex;align-items:center;
  justify-content:center;font-size:.95rem;
}
#vilber-home .topbar__cart{background:var(--red);border:none;position:relative;}
#vilber-home .cart-badge{
  position:absolute;top:-3px;right:-3px;background:var(--ink);color:#fff;
  font-size:9px;font-weight:800;width:15px;height:15px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}

/* ── TRUST BAR (scroll en móvil) ── */
#vilber-home .trust-bar{
  display:flex;overflow-x:auto;background:#fff;
  border-bottom:1px solid var(--warm);scrollbar-width:none;
}
#vilber-home .trust-bar::-webkit-scrollbar{display:none;}
#vilber-home .ti{
  display:flex;align-items:center;gap:.35rem;
  padding:.6rem .85rem;flex-shrink:0;
  border-right:1px solid var(--warm);
  font-size:10.5px;font-weight:700;color:var(--ink-m);white-space:nowrap;
}
#vilber-home .ti:last-child{border-right:none;}

/* ── HERO MÓVIL (columna única) ── */
#vilber-home .hero{
  background:var(--ink);
  display:flex;flex-direction:column;
  position:relative;overflow:hidden;
}
#vilber-home .hero::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 70% 30%,rgba(118,200,204,.1) 0%,transparent 65%);
  pointer-events:none;
}
#vilber-home .hero__text{
  padding:1.75rem var(--pad-x) 1.25rem;
  display:flex;flex-direction:column;gap:.7rem;
  position:relative;z-index:2;
}
#vilber-home .hero__badge{
  display:inline-flex;align-items:center;
  background:rgba(118,200,204,.14);border:1px solid rgba(118,200,204,.25);
  border-radius:var(--r-pill);padding:.22rem .7rem;
  font-size:9.5px;font-weight:800;color:var(--teal);
  letter-spacing:.1em;text-transform:uppercase;width:fit-content;
}
#vilber-home .hero h1{color:#fff;font-size:1.9rem;}
#vilber-home .hero h1 em{font-style:normal;color:var(--teal);}
#vilber-home .hero__sub{
  font-size:.85rem;color:rgba(255,255,255,.68);line-height:1.65;
}
#vilber-home .hero__btns{display:flex;flex-direction:column;gap:.5rem;}

/* Stats inline (ocultos en móvil, visibles en desktop) */
#vilber-home .hero__stats-inline{display:none;}

/* Imagen hero móvil */
#vilber-home .hero__img{
  width:100%;height:220px;overflow:hidden;flex-shrink:0;position:relative;z-index:1;
}
#vilber-home .hero__img img{
  width:100%;height:100%;object-fit:cover;object-position:center;
}

/* Stats móvil (visibles solo en móvil) */
#vilber-home .hero__stats-mob{
  display:flex;justify-content:space-around;
  background:var(--ink);padding:.8rem 0 .9rem;
  border-bottom:1px solid rgba(255,255,255,.07);
}
#vilber-home .hs-num{
  font-family:Georgia,serif;font-size:1.45rem;font-weight:900;
  color:var(--teal);line-height:1;text-align:center;
}
#vilber-home .hs-lbl{
  font-size:9px;font-weight:700;color:rgba(255,255,255,.45);
  letter-spacing:.05em;text-transform:uppercase;margin-top:.1rem;text-align:center;
}

/* ── SECCIÓN ── */
#vilber-home .sec{padding:1.2rem var(--pad-x);}
#vilber-home .sec__head{
  display:flex;align-items:baseline;justify-content:space-between;margin-bottom:.7rem;
}
#vilber-home .sec__title{
  font-family:Georgia,serif;font-size:1.2rem;font-weight:700;color:var(--ink);
}
#vilber-home .sec__desc{font-size:.82rem;color:var(--ink-m);line-height:1.6;margin-bottom:1rem;}
#vilber-home .sec__lnk{font-size:.78rem;font-weight:700;color:var(--red);}

/* ── FAMILIAS GRID ── */
#vilber-home .fam-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;}
#vilber-home .fam-card{
  display:block;border-radius:var(--r-lg);overflow:hidden;position:relative;
  cursor:pointer;box-shadow:var(--sh);transition:transform .2s;
}
#vilber-home .fam-card:active{transform:scale(.97);}
#vilber-home .fam-card--wide{grid-column:1/-1;}
#vilber-home .fam-card__img{width:100%;overflow:hidden;background:var(--cream-dk);}
#vilber-home .fam-card--wide .fam-card__img{height:150px;}
#vilber-home .fam-card__img{height:120px;}
#vilber-home .fam-card__img img{width:100%;height:100%;object-fit:cover;}
#vilber-home .fam-card__overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(28,25,23,.88) 0%,transparent 55%);
  padding:.8rem;display:flex;flex-direction:column;justify-content:flex-end;
}
#vilber-home .fam-card__tag{
  display:inline-block;background:var(--red);color:#fff;
  font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  padding:.18rem .58rem;border-radius:var(--r-pill);
  margin-bottom:.3rem;align-self:flex-start;
}
#vilber-home .fam-card__name{
  font-family:Georgia,serif;font-size:.95rem;font-weight:700;color:#fff;line-height:1.2;
}
#vilber-home .fam-card__count{font-size:.72rem;color:rgba(255,255,255,.7);margin-top:.1rem;}

/* ── PRODUCTOS ── */
#vilber-home .prod-grid{
  display:flex;gap:.65rem;overflow-x:auto;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
#vilber-home .prod-grid::-webkit-scrollbar{display:none;}
#vilber-home .pc{
  flex-shrink:0;width:150px;background:#fff;
  border:1px solid var(--warm);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--sh);
}
#vilber-home .pc__img{width:100%;height:125px;background:var(--cream-dk);overflow:hidden;position:relative;}
#vilber-home .pc__img img{width:100%;height:100%;object-fit:cover;}
#vilber-home .pc__badge{
  position:absolute;top:.45rem;left:.45rem;background:var(--red);color:#fff;
  font-size:8.5px;font-weight:800;padding:.15rem .48rem;border-radius:var(--r-pill);
}
#vilber-home .pc__info{padding:.6rem .7rem;}
#vilber-home .pc__name{font-size:.78rem;font-weight:800;color:var(--ink);margin-bottom:.12rem;line-height:1.3;}
#vilber-home .pc__cal{font-size:.68rem;color:var(--ink-m);margin-bottom:.3rem;}
#vilber-home .pc__price{font-family:Georgia,serif;font-size:.95rem;font-weight:700;color:var(--red);}
#vilber-home .pc__btn{
  display:block;background:var(--red);color:#fff;
  text-align:center;padding:.4rem;font-size:.72rem;font-weight:800;
}

/* ── MATTE BANNER ── */
#vilber-home .matte-ban{
  background:var(--ink);border-radius:var(--r-lg);
  padding:1.1rem;display:flex;flex-direction:column;gap:.75rem;
  position:relative;overflow:hidden;
}
#vilber-home .matte-ban::before{
  content:'';position:absolute;top:-30px;right:-30px;
  width:120px;height:120px;border-radius:50%;
  background:rgba(118,200,204,.08);pointer-events:none;
}
#vilber-home .matte-ban__tag{
  display:inline-block;background:var(--teal);color:var(--ink);
  font-size:9px;font-weight:800;padding:.2rem .65rem;
  border-radius:var(--r-pill);width:fit-content;
  letter-spacing:.07em;text-transform:uppercase;
}
#vilber-home .matte-ban h3{
  font-family:Georgia,serif;font-size:1.05rem;font-weight:700;color:#fff;
}
#vilber-home .matte-ban p{font-size:.8rem;color:rgba(255,255,255,.62);line-height:1.6;}
#vilber-home .matte-pts{display:flex;flex-direction:column;gap:.35rem;}
#vilber-home .matte-pt{
  font-size:.78rem;font-weight:700;color:var(--teal);
  display:flex;align-items:flex-start;gap:.4rem;
}
#vilber-home .matte-pt::before{content:'✓';font-weight:900;flex-shrink:0;}

/* ── ENVÍOS ── */
#vilber-home .ship-strip{
  background:var(--cream-dk);border-top:1px solid var(--warm);
  border-bottom:1px solid var(--warm);
  padding:.9rem var(--pad-x);display:grid;
  grid-template-columns:1fr 1fr;gap:.65rem;
}
#vilber-home .ss-item{display:flex;align-items:flex-start;gap:.45rem;}
#vilber-home .ss-icon{font-size:1.2rem;flex-shrink:0;}
#vilber-home .ss-item h4{font-size:.76rem;font-weight:800;color:var(--ink);margin-bottom:.05rem;}
#vilber-home .ss-item p{font-size:.7rem;color:var(--ink-m);line-height:1.4;}

/* ── RESEÑAS ── */
#vilber-home .rev-grid{
  display:flex;gap:.65rem;overflow-x:auto;scrollbar-width:none;
}
#vilber-home .rev-grid::-webkit-scrollbar{display:none;}
#vilber-home .rc{
  flex-shrink:0;width:240px;background:#fff;
  border:1px solid var(--warm);border-radius:var(--r-lg);padding:.9rem;
}
#vilber-home .rc__stars{color:var(--red);font-size:.88rem;letter-spacing:.5px;margin-bottom:.4rem;}
#vilber-home .rc__text{font-size:.8rem;color:#3D3936;line-height:1.6;margin-bottom:.6rem;}
#vilber-home .rc__text::before{
  content:'"';font-family:Georgia,serif;font-size:1.2em;
  color:var(--teal);line-height:0;vertical-align:-.2em;
}
#vilber-home .rc__author{display:flex;align-items:center;gap:.5rem;}
#vilber-home .rc__av{
  width:32px;height:32px;border-radius:50%;overflow:hidden;
  background:var(--warm);border:2px solid var(--teal);flex-shrink:0;
}
#vilber-home .rc__av img{width:100%;height:100%;object-fit:cover;}
#vilber-home .rc__name{font-size:.78rem;font-weight:800;color:var(--ink);}
#vilber-home .rc__role{font-size:.68rem;color:var(--ink-m);}

/* ── BOTTOM NAV (solo móvil) ── */
#vilber-home .bottom-nav{
  display:flex;background:#fff;border-top:1.5px solid var(--warm);
  box-shadow:0 -4px 20px rgba(28,25,23,.10);padding:.25rem 0;
}
#vilber-home .bnav-item{
  flex:1;display:flex;flex-direction:column;align-items:center;
  padding:.5rem .25rem;font-size:.62rem;font-weight:700;color:var(--ink-m);gap:.15rem;
}
#vilber-home .bnav-item.active{color:var(--red);}
#vilber-home .bnav-icon{font-size:1.15rem;line-height:1;}

/* ════════════════════════════════════════════
   TABLET 600px+
════════════════════════════════════════════ */
@media(min-width:600px){
  #vilber-home{--pad-x:2rem;}
  #vilber-home .ann-bar{font-size:12px;}
  #vilber-home .hero h1{font-size:2.3rem;}
  #vilber-home .hero__img{height:280px;}
  #vilber-home .hero__btns{flex-direction:row;gap:.75rem;}
  #vilber-home .vbtn{flex:1;}
  #vilber-home .trust-bar{justify-content:center;flex-wrap:wrap;}
  #vilber-home .fam-grid{grid-template-columns:1fr 1fr 1fr;}
  #vilber-home .fam-card--wide{grid-column:1/-1;}
  #vilber-home .fam-card--wide .fam-card__img{height:200px;}
  #vilber-home .prod-grid{padding:0;}
  #vilber-home .pc{width:185px;}
  #vilber-home .pc__img{height:155px;}
  #vilber-home .ship-strip{grid-template-columns:repeat(4,1fr);padding:1rem 2rem;}
  #vilber-home .rev-grid{padding:0;}
  #vilber-home .rc{width:280px;}
  #vilber-home .matte-ban{flex-direction:row;align-items:flex-start;gap:2rem;}
  #vilber-home .matte-ban__text{flex:1;}
  #vilber-home .matte-pts{flex:1;}
}

/* ════════════════════════════════════════════
   DESKTOP 900px+ — OPCIÓN B
════════════════════════════════════════════ */
@media(min-width:900px){
  #vilber-home{--pad-x:3rem;}

  /* Topbar con nav */
  #vilber-home .topbar{padding:.85rem 3rem;}
  #vilber-home .topbar__nav{
    display:flex;gap:1.5rem;align-items:center;
  }
  #vilber-home .topbar__nav a{
    font-size:.82rem;font-weight:700;color:var(--ink-m);
    transition:color .15s;white-space:nowrap;
  }
  #vilber-home .topbar__nav a:hover{color:var(--red);}
  #vilber-home .topbar__logo-img{height:48px;}

  /* Trust bar siempre visible, sin scroll */
  #vilber-home .trust-bar{
    overflow-x:visible;justify-content:center;flex-wrap:nowrap;
  }
  #vilber-home .ti{padding:.65rem 1.5rem;font-size:11px;}

  /* HERO — grid 2 columnas */
  #vilber-home .hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:1fr;
    min-height:500px;
    flex-direction:unset;
  }
  #vilber-home .hero__text{
    grid-column:1;grid-row:1;
    padding:3rem 2.5rem 3rem 3rem;
    justify-content:center;
    gap:1rem;
  }
  #vilber-home .hero h1{font-size:2.8rem;}
  #vilber-home .hero__sub{font-size:.9rem;max-width:400px;}
  #vilber-home .hero__btns{flex-direction:row;gap:.75rem;}
  #vilber-home .vbtn{flex:none;min-width:190px;}

  /* Stats inline aparecen en desktop dentro del hero */
  #vilber-home .hero__stats-inline{
    display:flex;gap:2rem;
    padding-top:1.25rem;
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:.25rem;
  }
  #vilber-home .hsi__num{
    font-family:Georgia,serif;font-size:1.6rem;font-weight:900;
    color:var(--teal);line-height:1;
  }
  #vilber-home .hsi__lbl{
    font-size:9.5px;font-weight:700;color:rgba(255,255,255,.4);
    letter-spacing:.06em;text-transform:uppercase;margin-top:.15rem;
  }

  /* Imagen ocupa columna derecha completa */
  #vilber-home .hero__img{
    grid-column:2;grid-row:1;
    height:100%;min-height:500px;
    width:100%;
  }
  #vilber-home .hero__img img{height:100%;object-position:center;}

  /* Ocultar stats móvil */
  #vilber-home .hero__stats-mob{display:none;}

  /* Familias — 3 col */
  #vilber-home .fam-grid{
    grid-template-columns:1fr 1fr 1fr;gap:1rem;
  }
  #vilber-home .fam-card--wide .fam-card__img{height:240px;}
  #vilber-home .fam-card__img{height:170px;}
  #vilber-home .fam-card__name{font-size:1.05rem;}

  /* Productos — grid fijo 4 col */
  #vilber-home .prod-grid{
    display:grid;grid-template-columns:repeat(4,1fr);
    gap:1rem;overflow-x:visible;
  }
  #vilber-home .pc{width:auto;}
  #vilber-home .pc__img{height:190px;}

  /* Matte banner */
  #vilber-home .matte-ban{padding:1.75rem 2rem;}
  #vilber-home .matte-ban h3{font-size:1.2rem;}
  #vilber-home .matte-pts{gap:.5rem;}

  /* Envíos */
  #vilber-home .ship-strip{padding:1.25rem 3rem;gap:2rem;}
  #vilber-home .ss-item h4{font-size:.85rem;}
  #vilber-home .ss-item p{font-size:.78rem;}

  /* Reseñas — grid 3 col */
  #vilber-home .rev-grid{
    display:grid;grid-template-columns:repeat(3,1fr);
    gap:1rem;overflow-x:visible;
  }
  #vilber-home .rc{width:auto;}

  /* Bottom nav oculto en desktop */
  #vilber-home .bottom-nav{display:none;}

  /* Sección padding */
  #vilber-home .sec{padding:2rem 3rem;}
  #vilber-home .sec__title{font-size:1.5rem;}
}

/* ════════════════════════════════════════════
   DESKTOP GRANDE 1200px+
════════════════════════════════════════════ */
@media(min-width:1200px){
  #vilber-home{--pad-x:4rem;}
  #vilber-home .topbar{padding:.9rem 4rem;}
  #vilber-home .hero__text{padding:3.5rem 3rem 3.5rem 4rem;}
  #vilber-home .hero h1{font-size:3.2rem;}
  #vilber-home .hero__sub{font-size:.95rem;max-width:460px;}
  #vilber-home .sec{padding:2.5rem 4rem;}
  #vilber-home .ship-strip{padding:1.5rem 4rem;}
  #vilber-home .hero{min-height:560px;}
  #vilber-home .hero__img{min-height:560px;}
  #vilber-home .ti{padding:.7rem 2rem;}
}