/* CELLTECH HOME V7 — capa visual, no altera lógica */
.ct-home-section-head{display:none}.ct-home-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1180px;margin:8px auto 34px;padding:0 18px}.ct-benefit{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #eceef2;border-radius:18px;padding:17px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.ct-benefit-icon{width:44px;height:44px;border-radius:14px;background:#fff1f2;color:#e50914;display:grid;place-items:center;font-size:19px;flex:0 0 auto}.ct-benefit b,.ct-benefit small{display:block}.ct-benefit b{font-size:14px;color:#111}.ct-benefit small{font-size:12px;color:#717784;margin-top:3px}.ct-home-product-card{border-radius:18px!important;overflow:hidden;border:1px solid #eceef2;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.055);height:100%}.ct-home-product-media{background:#f7f8fa}.ct-home-product-media>a{display:block}.ct-home-product-media img{aspect-ratio:1/1;object-fit:contain;padding:10px;transition:.25s}.ct-home-product-card:hover .ct-home-product-media img{transform:scale(1.025)}.ct-product-category,.ct-product-stock{position:absolute;z-index:3;top:10px;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;letter-spacing:.02em}.ct-product-category{left:10px;background:rgba(17,24,39,.88);color:#fff}.ct-product-stock{right:10px}.ct-product-stock.is-stock{background:#eaf8ef;color:#18723a}.ct-product-stock.is-out{background:#fff0f1;color:#d20b20}.ct-home-product-name{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;min-height:40px;padding:0 12px;font-weight:800;color:#15171b!important;line-height:1.3}.ct-home-product-info{padding-top:15px!important}.ct-home-products-section>.row{align-items:stretch}.ct-home-product-col{margin-bottom:16px}
@media(max-width:767.98px){
 body{background:#f6f7f9!important;padding-bottom:72px}
 .ct-home-hero{padding:0!important;margin:8px 0 18px!important}.ct-home-hero .row{padding:0 12px!important;margin:0}.ct-home-hero .col-lg-12{padding:0}.ct-home-hero #header-carousel{border-radius:22px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.12)}.ct-home-hero .carousel-item{height:238px!important}.ct-home-hero .carousel-item img{object-fit:cover!important}.ct-home-hero .carousel-caption{inset:0;background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.05));text-align:left;align-items:flex-start!important;padding:22px!important}.ct-home-hero .carousel-caption .p-3{padding:0!important;max-width:78%!important}.ct-home-hero h1{font-size:26px!important;line-height:1.02;font-weight:900!important;margin-top:auto}.ct-home-hero p{font-size:12px;line-height:1.4;margin:0!important;padding:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ct-home-hero .btn{border:0;background:#e50914;color:#fff;border-radius:999px;padding:9px 15px!important;font-size:12px;font-weight:800}.ct-home-hero .carousel-indicators{margin-bottom:8px}.ct-home-hero .carousel-indicators li{width:7px;height:7px;border-radius:20px;border:0}.ct-home-hero .carousel-indicators li.active{width:22px}
 br{display:none}.ct-home-section-head{display:flex;align-items:end;justify-content:space-between;padding:0 15px;margin:0 0 12px}.ct-home-eyebrow{display:block;color:#e50914;font-size:10px;font-weight:900;letter-spacing:.13em;margin-bottom:2px}.ct-home-mobile-title{font-size:21px;line-height:1.1;margin:0;color:#101114;font-weight:900}.ct-home-seeall{font-size:12px;font-weight:800;color:#25272b!important;text-decoration:none!important;white-space:nowrap}.ct-home-seeall i{font-size:10px;margin-left:3px}.ct-home-categories{padding:8px 0 0!important}.ct-home-categories>.section-title{display:none}.ct-home-categories #categoryContainer{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:10px;padding:2px 15px 12px!important;margin:0!important;scroll-snap-type:x proximity;scrollbar-width:none}.ct-home-categories #categoryContainer::-webkit-scrollbar{display:none}.ct-home-categories #categoryContainer>div{flex:0 0 96px!important;max-width:96px!important;width:96px!important;padding:0!important;scroll-snap-align:start}.ct-home-categories .cat-item{display:block!important;background:#fff;border:1px solid #e9ebef;border-radius:18px;padding:8px!important;margin:0!important;box-shadow:0 6px 18px rgba(15,23,42,.045);text-align:center}.ct-home-categories .cat-item>div:first-child{width:80px!important;height:68px!important;margin:0 auto;border-radius:13px;background:#f7f8fa}.ct-home-categories .cat-item img{width:100%;height:100%;object-fit:contain;padding:4px}.ct-home-categories .cat-item .flex-fill{padding:7px 0 0!important}.ct-home-categories .cat-item h6{font-size:11px;line-height:1.15;margin:0;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#17191d}
 .ct-home-benefits{display:flex;overflow-x:auto;gap:10px;margin:6px 0 25px;padding:0 15px 6px;scrollbar-width:none}.ct-home-benefits::-webkit-scrollbar{display:none}.ct-benefit{flex:0 0 245px;padding:13px;border-radius:16px;box-shadow:none}.ct-benefit-icon{width:40px;height:40px;border-radius:12px}.ct-benefit b{font-size:12px}.ct-benefit small{font-size:10px}
 .ct-home-products-section{padding:5px 0 14px!important}.ct-home-products-section>.section-title{display:none}.ct-home-products-section>.row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px!important;margin:0!important}.ct-home-product-col{width:auto!important;max-width:none!important;padding:0!important;margin:0!important}.ct-home-product-card{border-radius:17px!important;box-shadow:0 5px 16px rgba(15,23,42,.05)}.ct-home-product-media img{aspect-ratio:1/1.04;padding:7px}.ct-product-category{display:none}.ct-product-stock{top:8px;right:8px;font-size:8px;padding:5px 7px}.ct-home-product-info{padding:10px 6px 9px!important}.ct-home-product-name{font-size:12px!important;min-height:31px;line-height:1.25;padding:0 3px}.ct-home-product-card .product-action{display:none!important}.ct-home-offer{margin:8px 0 0!important}.ct-home-offer-title{padding:7px 5px!important;border-radius:10px!important;gap:5px!important;font-size:8px!important}.ct-home-offer-title i{font-size:13px!important}.ct-home-offer-title b{font-size:11px!important}.ct-home-offer-btn{margin-top:6px!important;padding:8px 5px!important;border-radius:10px!important;font-size:10px!important;box-shadow:none!important}.ct-home-offers>.section-title{display:block!important;margin:0 15px 12px!important;font-size:19px}.ct-home-offers>.row{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:10px;padding:0 15px 8px!important;scrollbar-width:none}.ct-home-offers>.row::-webkit-scrollbar{display:none}.ct-home-offers>.row>div{flex:0 0 72%!important;max-width:72%!important;padding:0!important}.ct-home-offers .product-item{border-radius:18px;overflow:hidden;background:#fff!important;border:1px solid #eceef2}.ct-home-offers .product-img img{height:175px;object-fit:cover}.ct-home-offers .text-center{padding:12px!important;text-align:left!important}.ct-home-offers .text-center a{font-weight:900}.ct-brands-section{padding:20px 0!important}.ct-brands-section>.section-title{margin:0 15px 12px!important;font-size:15px}.ct-brands-track{overflow-x:auto!important;display:flex!important;gap:10px!important;padding:0 15px 6px!important;scrollbar-width:none}.ct-brand{flex:0 0 110px!important;min-width:110px!important;border-radius:14px!important;background:#fff!important;border:1px solid #eceef2!important;padding:10px!important}.ct-brand img{height:42px!important;object-fit:contain!important}
}
@media(max-width:380px){.ct-home-products-section>.row{gap:8px;padding:0 9px!important}.ct-home-product-name{font-size:11px!important}.ct-home-offer-title b{font-size:10px!important}.ct-home-hero .carousel-item{height:220px!important}}

/* === CELLTECH HOME V7.1 MOBILE FIX === */
@media (max-width:767.98px){
 html,body{max-width:100%;overflow-x:hidden!important}
 /* El menú de escritorio no debe forzar ancho horizontal en móvil */
 .navbar-expand-lg .navbar-nav{max-width:100%}
 .navbar-expand-lg .navbar-collapse{max-width:100%;overflow:hidden}

 .ct-home-products-section{overflow:hidden!important;margin:0!important}
 .ct-home-products-section>.row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 14px!important;margin:0!important;align-items:stretch!important}
 .ct-home-product-col{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;padding:0!important;margin:0!important}
 .ct-home-product-card{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;border:1px solid #e9ebef!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important}
 .ct-home-product-media{position:relative!important;height:178px!important;min-height:178px!important;max-height:178px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:8px!important}
 .ct-home-product-media>a{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .ct-home-product-media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important}
 .ct-home-product-info{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:11px 10px 12px!important;text-align:left!important;background:#fff!important;min-height:145px!important}
 .ct-home-product-name{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:36px!important;max-height:36px!important;padding:0!important;margin:0 0 8px!important;font-size:13px!important;line-height:18px!important;font-weight:900!important;color:#14161a!important}
 .ct-home-offer{margin:auto 0 0!important;width:100%!important}
 .ct-home-offer-title{display:flex!important;justify-content:flex-start!important;text-align:left!important;min-height:44px!important;padding:8px 9px!important;border-radius:12px!important;font-size:9px!important;line-height:1.1!important}
 .ct-home-offer-title i{font-size:14px!important}.ct-home-offer-title b{font-size:11px!important}
 .ct-home-offer-btn{height:39px!important;margin-top:7px!important;padding:0 10px!important;border-radius:12px!important;font-size:11px!important;justify-content:space-between!important}
 .ct-product-stock{top:9px!important;right:9px!important;font-size:8px!important;padding:5px 8px!important}
 .ct-home-section-head{padding:0 15px!important;margin:18px 0 12px!important}
 .ct-home-mobile-title{font-size:23px!important}
 /* Evita separadores HTML antiguos que generaban huecos grandes */
 .ct-home-products-section+br,.ct-home-products-section+br+br{display:none!important}
}
@media (max-width:390px){
 .ct-home-products-section>.row{gap:9px!important;padding:0 10px!important}
 .ct-home-product-media{height:160px!important;min-height:160px!important;max-height:160px!important}
 .ct-home-product-info{padding:10px 8px!important;min-height:140px!important}
 .ct-home-product-name{font-size:12px!important}
}

/* === CELLTECH HOME V7.2 — GRID REAL, sin Bootstrap en productos === */
.ct-home-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  padding:0 3rem;
  margin:0;
}
.ct-home-grid>.ct-home-product-col{
  width:100%!important;max-width:none!important;min-width:0!important;
  padding:0!important;margin:0!important;display:block!important;
}
@media (max-width:991.98px) and (min-width:768px){
  .ct-home-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 20px;gap:14px}
}
@media (max-width:767.98px){
  /* El grid de portada ya no depende de .row/Bootstrap */
  .ct-home-products-section>.ct-home-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    padding:0 12px!important;
    margin:0!important;
    overflow:visible!important;
  }
  .ct-home-grid>.ct-home-product-col{min-width:0!important;width:auto!important;max-width:none!important}
  .ct-home-grid .ct-home-product-card{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:330px!important}
  .ct-home-grid .ct-home-product-media{height:170px!important;min-height:170px!important;max-height:170px!important;padding:8px!important}
  .ct-home-grid .ct-home-product-info{min-height:148px!important;height:auto!important;padding:10px 9px 11px!important}
  .ct-home-grid .ct-home-product-name{font-size:12px!important;line-height:16px!important;min-height:32px!important;max-height:32px!important}
  .ct-home-grid .ct-home-offer-title{min-height:42px!important;padding:7px 8px!important}
  .ct-home-grid .ct-home-offer-btn{height:38px!important}
  /* En portada móvil el menú de escritorio no debe ocupar una fila horizontal infinita. */
  body>nav.navbar, body>.navbar, .navbar.navbar-expand-lg{max-width:100vw!important;overflow:hidden!important}
  .navbar-expand-lg .navbar-nav{flex-wrap:wrap!important;white-space:normal!important}
}
@media (max-width:390px){
  .ct-home-products-section>.ct-home-grid{gap:9px!important;padding:0 9px!important}
  .ct-home-grid .ct-home-product-media{height:150px!important;min-height:150px!important;max-height:150px!important}
  .ct-home-grid .ct-home-product-card{min-height:310px!important}
}
