
:root{
  --bg:#020611;
  --bg2:#06142a;
  --panel:rgba(7,18,37,.74);
  --panel2:rgba(11,28,55,.88);
  --line:rgba(80,210,255,.16);
  --line2:rgba(255,255,255,.09);
  --text:#f6fbff;
  --muted:#9bb0c4;
  --cyan:#23e6ff;
  --blue:#2878ff;
  --green:#25d366;
  --danger:#ff5470;
  --shadow:0 26px 80px rgba(0,0,0,.42);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 14% -8%,rgba(35,230,255,.23),transparent 29%),
    radial-gradient(circle at 88% 0%,rgba(40,120,255,.23),transparent 34%),
    radial-gradient(circle at 50% 62%,rgba(80,42,255,.10),transparent 35%),
    linear-gradient(180deg,#020611 0%,#07162d 48%,#020611 100%);
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(35,230,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,230,255,.025) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.75),transparent 78%);
}
body::after{
  content:"";
  position:fixed; inset:-20%;
  background:conic-gradient(from 120deg,transparent,rgba(35,230,255,.045),transparent,rgba(40,120,255,.04),transparent);
  filter:blur(60px);
  animation:ambient 24s linear infinite;
  pointer-events:none;
  z-index:-1;
}
@keyframes ambient{to{transform:rotate(1turn)}}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.app-shell{min-height:100vh}
.topbar{
  position:sticky; top:0; z-index:80;
  height:58px;
  display:flex; align-items:center; justify-content:center;
  padding:0 22px;
  background:rgba(2,6,17,.72);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.topbar-inner{
  width:min(1480px,100%);
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand-mini{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;font-size:13px}
.brand-dot{width:10px;height:10px;border-radius:50%;background:var(--cyan);box-shadow:0 0 22px var(--cyan)}
.top-actions{display:flex;align-items:center;gap:10px}
.navlink,.cart-chip{
  height:36px; border:1px solid var(--line); background:rgba(255,255,255,.04);
  border-radius:999px; padding:0 14px; color:#eaf8ff; display:inline-flex; align-items:center; gap:8px;
  font-weight:800; font-size:13px;
}
.cart-chip{background:linear-gradient(135deg,rgba(35,230,255,.16),rgba(40,120,255,.16))}
.container{width:min(1480px,calc(100% - 32px)); margin:0 auto}
.hero{
  position:relative;
  margin:18px auto 16px;
  overflow:hidden;
  border-radius:34px;
  border:1px solid rgba(35,230,255,.20);
  background:
    linear-gradient(112deg,rgba(8,25,50,.95),rgba(2,6,17,.98) 48%,rgba(9,18,45,.94)),
    radial-gradient(circle at 16% 12%,rgba(35,230,255,.16),transparent 34%);
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
}
.hero::before{
  content:"";
  position:absolute; inset:-1px;
  background:linear-gradient(90deg, transparent, rgba(35,230,255,.16), transparent);
  transform:translateX(-100%);
  animation:shine 7s ease-in-out infinite;
}
@keyframes shine{55%,100%{transform:translateX(110%)}}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:340px minmax(0,1fr); gap:34px; align-items:center;
  padding:34px clamp(22px,4vw,58px);
}
.logo-panel{
  min-height:300px;
  border-radius:30px;
  display:grid; place-items:center;
  background:
    radial-gradient(circle,rgba(35,230,255,.15),transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 24px 60px rgba(0,0,0,.32);
}
.logo-panel img{
  width:min(275px,70vw); height:min(275px,70vw);
  object-fit:contain;
  filter:drop-shadow(0 20px 45px rgba(0,0,0,.55)) drop-shadow(0 0 28px rgba(35,230,255,.25));
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color:#78f4ff; text-transform:uppercase; letter-spacing:.23em;
  font-size:12px; font-weight:900; margin:0 0 12px;
}
.hero h1{
  margin:0;
  max-width:860px;
  font-size:clamp(36px,4.6vw,74px);
  line-height:1.02;
  letter-spacing:-.055em;
  text-shadow:0 0 32px rgba(35,230,255,.13),0 16px 50px rgba(0,0,0,.42);
}
.hero p{
  margin:18px 0 0;
  max-width:760px;
  color:#c8d6e6;
  font-size:clamp(16px,1.5vw,21px);
  line-height:1.55;
  font-weight:650;
}
.hero-search{
  margin-top:24px;
  display:flex; gap:10px;
  max-width:760px;
}
.search-big{
  flex:1; min-width:0;
  height:56px;
  border-radius:18px;
  border:1px solid rgba(35,230,255,.25);
  outline:none;
  color:#f7fcff;
  background:rgba(0,0,0,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 42px rgba(0,0,0,.20);
  padding:0 18px 0 46px;
  font-weight:750;
}
.search-wrap{position:relative;flex:1}
.search-wrap::before{content:"⌕";position:absolute;left:18px;top:50%;transform:translateY(-50%);color:#63eaff;font-size:20px;z-index:2}
.primary-cta{
  height:56px;
  border:0;
  padding:0 22px;
  border-radius:18px;
  color:#00101a;
  font-weight:950;
  background:linear-gradient(135deg,var(--cyan),#7df8ff);
  box-shadow:0 14px 36px rgba(35,230,255,.23);
}
.trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.trust-row span{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
  color:#e8f9ff;
  padding:9px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}
.showcase{
  margin:16px auto 18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(4,12,26,.66);
  border-radius:28px;
  padding:14px;
  overflow:hidden;
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}
.showcase-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 10px 14px;
}
.showcase-head h2{margin:0;font-size:18px;letter-spacing:-.02em}
.showcase-head span{color:var(--muted);font-size:13px;font-weight:700}
.carousel{
  display:flex; gap:14px; overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
}
.carousel-track{
  display:flex; gap:14px; min-width:max-content;
  animation:marquee 55s linear infinite;
}
.showcase:hover .carousel-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
.mini-card{
  width:250px; height:132px; flex:0 0 auto;
  border:1px solid rgba(35,230,255,.13);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  display:grid;grid-template-columns:92px 1fr;gap:10px;align-items:center;
  padding:10px;
}
.mini-card .pic{width:92px;height:92px;border-radius:18px;background:#fff;display:grid;place-items:center;overflow:hidden}
.mini-card img{width:100%;height:100%;object-fit:contain;padding:9px}
.mini-card strong{font-size:13px;line-height:1.18;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mini-card b{display:block;margin-top:7px;color:#7af4ff}
.catalog{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:18px;
  align-items:start;
  margin-bottom:70px;
}
.sidebar{
  position:sticky; top:74px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  background:linear-gradient(180deg,rgba(9,25,48,.82),rgba(3,9,22,.92));
  box-shadow:0 22px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  padding:13px;
  max-height:calc(100vh - 92px);
  overflow:auto;
}
.sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px 10px}
.sidebar-title strong{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:#dbfaff}
.cat-list{display:flex;flex-direction:column;gap:7px}
.cat-btn{
  width:100%;
  display:flex;align-items:center;gap:9px;
  min-height:38px;
  border:1px solid transparent;
  background:rgba(255,255,255,.035);
  color:#dcecff;
  border-radius:15px;
  padding:7px 9px;
  font-size:14px;
  font-weight:850;
  text-align:left;
  transition:.2s ease;
}
.cat-btn:hover,.cat-btn.active{
  border-color:rgba(35,230,255,.24);
  background:linear-gradient(135deg,rgba(35,230,255,.14),rgba(40,120,255,.12));
  transform:translateX(3px);
}
.cat-btn small{margin-left:auto;color:#85a0b6;font-size:11px}
.content{min-width:0}
.tools{
  position:sticky; top:74px; z-index:50;
  display:grid;
  grid-template-columns:minmax(250px,1fr) 160px 140px;
  gap:10px;
  align-items:center;
  padding:11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  background:rgba(2,7,18,.74);
  backdrop-filter:blur(18px);
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  margin-bottom:14px;
}
.tools input,.tools select{
  height:44px;
  border:1px solid rgba(35,230,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.045);
  color:#f7fbff;
  outline:none;
  padding:0 13px;
  font-weight:750;
}
.tools select option{background:#071225;color:white}
.result-meta{color:#b5c7d8;font-size:13px;font-weight:750;padding:0 4px 12px}
.grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.card{
  min-width:0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 0%,rgba(35,230,255,.065),transparent 45%),
    linear-gradient(180deg,rgba(9,25,48,.96),rgba(3,9,22,.98));
  box-shadow:0 22px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform:translateY(-6px);
  border-color:rgba(35,230,255,.24);
  box-shadow:0 32px 86px rgba(0,0,0,.50),0 0 42px rgba(35,230,255,.12);
}
.thumb{
  height:238px;
  margin:13px 13px 0;
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#f3f7ff);
  border:1px solid rgba(255,255,255,.9);
  overflow:hidden;
  display:grid;place-items:center;
}
.thumb img{
  width:100%;height:100%;
  object-fit:contain;
  object-position:center;
  padding:18px;
  transition:transform .22s ease;
}
.card:hover .thumb img{transform:scale(1.04)}
.info{padding:12px 13px 14px}
.title-box{
  min-height:66px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(1,6,17,.98),rgba(7,20,39,.99));
  padding:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
}
.title{
  margin:0;
  color:#f8fdff;
  font-size:14.5px;
  line-height:1.22;
  font-weight:850;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0}
.badge{
  font-size:11px;line-height:1;
  color:#c6e9f5;
  font-weight:850;
  padding:7px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.052);
  border:1px solid rgba(255,255,255,.08);
}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.price{font-size:20px;font-weight:950;letter-spacing:-.035em;color:#78f2ff}
.stock{font-size:12px;color:#9fb4c8;font-weight:800}
.add-btn{
  width:100%;
  height:42px;
  border:0;
  margin-top:12px;
  border-radius:15px;
  color:#00101a;
  font-weight:950;
  background:linear-gradient(135deg,var(--cyan),#85fbff);
  box-shadow:0 14px 34px rgba(35,230,255,.18);
}
.add-btn:active{transform:translateY(1px)}
.sentinel{height:1px}
.drawer-backdrop{
  position:fixed; inset:0; z-index:120;
  background:rgba(0,0,0,.42);
  opacity:0; pointer-events:none; transition:.2s ease;
}
.drawer-backdrop.show{opacity:1;pointer-events:auto}
.cart-drawer{
  position:fixed; top:0; right:0; z-index:130;
  width:min(430px,100%);
  height:100vh;
  background:linear-gradient(180deg,#071429,#030714);
  border-left:1px solid rgba(35,230,255,.18);
  box-shadow:-24px 0 80px rgba(0,0,0,.55);
  transform:translateX(105%);
  transition:.25s ease;
  display:flex; flex-direction:column;
}
.cart-drawer.open{transform:translateX(0)}
.drawer-head{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.drawer-head strong{font-size:18px}
.icon-btn{width:38px;height:38px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:13px;color:white}
.cart-items{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.cart-empty{color:#a7b9ca;text-align:center;margin:auto;line-height:1.5}
.cart-item{border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.04);padding:10px}
.cart-item strong{font-size:13px;line-height:1.2;display:block}
.cart-item footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:28px;height:28px;border:0;border-radius:10px;background:rgba(35,230,255,.15);color:white;font-weight:900}
.drawer-foot{border-top:1px solid rgba(255,255,255,.08);padding:14px}
.total-line{display:flex;justify-content:space-between;font-weight:950;font-size:18px;margin-bottom:12px}
.whatsapp-send{width:100%;height:48px;border:0;border-radius:16px;background:var(--green);color:white;font-weight:950}
.float-wa{
  position:fixed; right:18px; bottom:18px; z-index:90;
  width:58px;height:58px;border-radius:50%;
  background:#25d366; color:white;
  display:grid;place-items:center;
  box-shadow:0 20px 50px rgba(0,0,0,.42),0 0 34px rgba(37,211,102,.35);
}
.float-wa svg{width:31px;height:31px;fill:white}
.toast{
  position:fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(120px);
  z-index:200;
  background:#061425;
  border:1px solid rgba(35,230,255,.18);
  box-shadow:0 18px 55px rgba(0,0,0,.5);
  border-radius:999px;
  padding:12px 16px;
  color:#eaffff;
  font-weight:850;
  transition:.22s ease;
}
.toast.show{transform:translateX(-50%) translateY(0)}
.footer{border-top:1px solid rgba(255,255,255,.07);padding:34px 0 44px;color:#9fb2c6;text-align:center}
.footer strong{color:white}
.skeleton{
  border-radius:26px;height:385px;
  background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.09),rgba(255,255,255,.04));
  background-size:240% 100%;
  animation:skeleton 1.2s ease infinite;
}
@keyframes skeleton{to{background-position:-240% 0}}
.no-results{
  padding:40px;
  text-align:center;
  border:1px dashed rgba(35,230,255,.24);
  border-radius:26px;
  color:#c7d6e5;
}
@media (max-width:1320px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.thumb{height:225px}.hero-grid{grid-template-columns:300px 1fr}.logo-panel{min-height:270px}.logo-panel img{width:245px;height:245px}}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;text-align:center}.logo-panel{width:min(430px,100%);margin:auto}.hero-search{margin-left:auto;margin-right:auto}.trust-row{justify-content:center}
  .catalog{grid-template-columns:1fr}
  .sidebar{position:sticky;top:58px;z-index:55;border-radius:0;margin-left:calc((100vw - 100%)/-2);margin-right:calc((100vw - 100%)/-2);max-height:none;overflow:hidden;border-left:0;border-right:0}
  .sidebar-title{display:none}
  .cat-list{flex-direction:row;overflow:auto;padding-bottom:4px}
  .cat-btn{white-space:nowrap;width:auto;min-width:max-content;transform:none!important}
  .tools{top:124px;grid-template-columns:1fr 140px}
  .tools select:nth-of-type(2){display:none}
}
@media (max-width:760px){
  .topbar{height:52px}.brand-mini{font-size:11px}.navlink{display:none}
  .container{width:min(100% - 22px,1480px)}
  .hero{border-radius:26px;margin-top:12px}
  .hero-grid{padding:22px 14px}
  .logo-panel{min-height:200px;border-radius:24px}.logo-panel img{width:195px;height:195px}
  .hero h1{font-size:clamp(28px,9vw,42px)}
  .hero p{font-size:15px}.hero-search{flex-direction:column}.primary-cta,.search-big{height:50px}
  .showcase{border-radius:22px}.mini-card{width:224px}
  .tools{grid-template-columns:1fr;top:112px;border-radius:20px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.thumb{height:176px;margin:10px 10px 0;border-radius:17px}.thumb img{padding:12px}.info{padding:10px}.title-box{min-height:74px}.title{font-size:13px}.price{font-size:17px}
  .float-wa{width:54px;height:54px;right:14px;bottom:14px}
}
@media (max-width:430px){
  .grid{grid-template-columns:1fr}
  .thumb{height:245px}
  .title-box{min-height:60px}.title{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* === Control Center 2.1: diseño CEO premium + base de imágenes local === */
:root{
  --premium-card:rgba(5,16,34,.94);
  --premium-glow:0 0 42px rgba(35,230,255,.12);
}
.hero{
  isolation:isolate;
}
.hero::after{
  content:"";
  position:absolute;
  inset:auto -10% -35% -10%;
  height:260px;
  background:radial-gradient(ellipse at center, rgba(35,230,255,.16), transparent 64%);
  z-index:0;
  pointer-events:none;
}
.logo-panel{
  position:relative;
  overflow:hidden;
}
.logo-panel::before{
  content:"";
  position:absolute;
  width:125%;
  height:125%;
  background:conic-gradient(from 90deg, transparent, rgba(35,230,255,.20), transparent, rgba(40,120,255,.16), transparent);
  animation:ambient 18s linear infinite;
}
.logo-panel img{position:relative;z-index:1}
.card{
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(35,230,255,.32), transparent 38%, rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  opacity:.72;
}
.thumb{
  position:relative;
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0%, #f8fbff 48%, #edf3fb 100%) !important;
}
.thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.0), rgba(8,20,40,.035));
}
.title-box{
  min-height:72px;
}
.badge:first-child{
  color:#0cf2ff;
  border-color:rgba(35,230,255,.18);
  background:rgba(35,230,255,.07);
}
.price{
  text-shadow:0 0 22px rgba(35,230,255,.25);
}
.add-btn{
  position:relative;
  overflow:hidden;
}
.add-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform:translateX(-120%);
  transition:.45s ease;
}
.add-btn:hover::before{
  transform:translateX(120%);
}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:rgba(35,230,255,.26);border-radius:999px}
.cat-btn.active small,
.cat-btn:hover small{color:#dffbff}
.showcase{
  background:
    linear-gradient(180deg,rgba(5,18,38,.72),rgba(2,7,18,.90)),
    radial-gradient(circle at 20% 0%,rgba(35,230,255,.14),transparent 36%);
}
.float-wa{
  border:3px solid rgba(255,255,255,.18);
}
@media (min-width:1500px){
  .grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}


/* === Control Center 2.2 Enterprise UX === */
.back-catalog{
  margin:18px 0 14px;
  height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(35,230,255,.22);
  background:linear-gradient(135deg,rgba(35,230,255,.13),rgba(40,120,255,.10));
  color:#eaffff;
  font-weight:950;
  box-shadow:0 14px 34px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.back-catalog:hover{
  transform:translateX(-3px);
  border-color:rgba(35,230,255,.42);
  background:linear-gradient(135deg,rgba(35,230,255,.20),rgba(40,120,255,.15));
}

.detail-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}
.secondary-cta{
  height:56px;
  border:1px solid rgba(35,230,255,.20);
  padding:0 20px;
  border-radius:18px;
  color:#eaffff;
  font-weight:950;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.secondary-cta:hover{
  background:rgba(35,230,255,.10);
}
.product-detail-image{
  background:
    radial-gradient(circle at 50% 50%,#ffffff 0%,#f6f9ff 45%,#eaf0f9 100%) !important;
}
.product-detail-image img{
  width:88% !important;
  height:88% !important;
  object-fit:contain !important;
  filter:drop-shadow(0 22px 34px rgba(0,0,0,.18)) !important;
}
.related-block{
  margin:20px 0 70px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(5,18,38,.72),rgba(2,7,18,.92)),
    radial-gradient(circle at 10% 0%,rgba(35,230,255,.10),transparent 34%);
  box-shadow:0 22px 70px rgba(0,0,0,.25);
  padding:16px;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.related-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:rgba(255,255,255,.045);
  padding:10px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.related-card:hover{
  transform:translateY(-4px);
  border-color:rgba(35,230,255,.22);
  box-shadow:0 20px 60px rgba(0,0,0,.30),0 0 34px rgba(35,230,255,.10);
}
.related-pic{
  height:150px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#fff;
  overflow:hidden;
  margin-bottom:10px;
}
.related-pic img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
}
.related-card strong{
  min-height:46px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:13px;
  line-height:1.22;
}
.related-card b{
  display:block;
  margin-top:8px;
  color:#78f2ff;
  font-weight:950;
}

/* Navegación de catálogo más rápida y estable */
.card{
  content-visibility:auto;
  contain-intrinsic-size:390px;
}
.thumb img{
  transform:translateZ(0);
}
.tools{
  will-change:transform;
}
.sidebar{
  will-change:transform;
}

/* Más jerarquía visual de tienda premium */
.hero h1{
  letter-spacing:-.07em;
}
.kicker{
  text-shadow:0 0 22px rgba(35,230,255,.18);
}
.card:hover .title-box{
  border-color:rgba(35,230,255,.18);
}
.stock{
  color:#b8c8da;
}
.result-meta{
  color:#d3e4f4;
}
@media (max-width:980px){
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .detail-actions{flex-direction:column}
  .primary-cta,.secondary-cta{width:100%}
  .related-grid{grid-template-columns:1fr}
}


/* =========================================================
   CONTROL CENTER 2.3 MOBILE PREMIUM
   Optimización de navegación celular + imágenes sin recorte
   ========================================================= */

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

img{
  image-rendering:auto;
}

.product-thumb,
.thumb,
.related-pic,
.mini-card .pic{
  overflow:hidden;
}

.thumb img,
.related-pic img,
.mini-card img,
.logo-panel.product-detail-image img{
  object-fit:contain !important;
  object-position:center center !important;
  max-width:100% !important;
  max-height:100% !important;
}

/* Evita que los thumbnails se compriman y corten por tamaños heredados */
.thumb{
  isolation:isolate;
}
.thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
}

/* Dock móvil tipo app */
.mobile-dock{
  display:none;
}

@media (hover:hover){
  .dock-item:hover{
    transform:translateY(-2px);
  }
}

/* Mobile y tablets pequeñas */
@media (max-width: 820px){
  body{
    padding-bottom:86px;
    background:
      radial-gradient(circle at 18% -4%,rgba(35,230,255,.20),transparent 30%),
      radial-gradient(circle at 90% 4%,rgba(40,120,255,.18),transparent 32%),
      linear-gradient(180deg,#020611 0%,#06152b 48%,#020611 100%) !important;
  }

  .topbar{
    height:50px !important;
    padding:0 10px !important;
  }

  .topbar-inner{
    gap:8px !important;
  }

  .brand-mini{
    max-width:55vw;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:11px !important;
  }

  .cart-chip{
    height:34px !important;
    padding:0 12px !important;
  }

  .container{
    width:min(100% - 18px,1480px) !important;
  }

  .hero{
    margin-top:10px !important;
    border-radius:24px !important;
  }

  .hero-grid{
    padding:18px 13px 20px !important;
    gap:16px !important;
  }

  .logo-panel{
    min-height:162px !important;
    border-radius:22px !important;
  }

  .logo-panel img{
    width:155px !important;
    height:155px !important;
    object-fit:contain !important;
  }

  .hero h1{
    font-size:clamp(27px,8.8vw,42px) !important;
    line-height:1.03 !important;
    letter-spacing:-.06em !important;
  }

  .hero p{
    font-size:14.5px !important;
    line-height:1.48 !important;
    margin-top:12px !important;
  }

  .kicker{
    font-size:10.5px !important;
    letter-spacing:.17em !important;
    margin-bottom:9px !important;
  }

  .trust-row{
    gap:7px !important;
    margin-top:13px !important;
  }

  .trust-row span{
    padding:8px 10px !important;
    font-size:12px !important;
  }

  .hero-search{
    gap:8px !important;
    margin-top:16px !important;
  }

  .search-big,
  .primary-cta,
  .secondary-cta{
    min-height:48px !important;
    height:48px !important;
    border-radius:16px !important;
  }

  .showcase{
    border-radius:22px !important;
    padding:10px !important;
    margin-top:10px !important;
  }

  .showcase-head{
    padding:6px 6px 10px !important;
  }

  .showcase-head h2{
    font-size:15px !important;
  }

  .showcase-head span{
    display:none !important;
  }

  .mini-card{
    width:212px !important;
    height:112px !important;
    grid-template-columns:76px 1fr !important;
    border-radius:18px !important;
  }

  .mini-card .pic{
    width:76px !important;
    height:76px !important;
    border-radius:15px !important;
    background:#fff !important;
  }

  .mini-card img{
    padding:7px !important;
  }

  .mini-card strong{
    font-size:12px !important;
  }

  .catalog{
    display:block !important;
    margin-bottom:90px !important;
  }

  /* Categorías compactas arriba, no bloquean la vista */
  .sidebar{
    position:sticky !important;
    top:50px !important;
    z-index:65 !important;
    margin:0 calc((100vw - 100%)/-2) 8px !important;
    padding:8px 8px 6px !important;
    border-radius:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    background:rgba(2,7,18,.86) !important;
    backdrop-filter:blur(16px) !important;
    max-height:none !important;
    overflow:hidden !important;
    box-shadow:0 14px 38px rgba(0,0,0,.25) !important;
  }

  .sidebar-title{
    display:none !important;
  }

  .cat-list{
    display:flex !important;
    flex-direction:row !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:7px !important;
    padding:0 3px 4px !important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .cat-list::-webkit-scrollbar{
    display:none;
  }

  .cat-btn{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:max-content !important;
    min-height:34px !important;
    height:34px !important;
    padding:6px 10px !important;
    border-radius:999px !important;
    font-size:12.8px !important;
    gap:6px !important;
    transform:none !important;
  }

  .cat-btn small{
    display:none !important;
  }

  .content{
    min-width:0;
  }

  .tools{
    position:sticky !important;
    top:95px !important;
    z-index:62 !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    margin-bottom:10px !important;
    padding:8px !important;
    border-radius:18px !important;
    background:rgba(2,7,18,.82) !important;
    backdrop-filter:blur(16px) !important;
  }

  .tools input,
  .tools select{
    height:42px !important;
    border-radius:14px !important;
    font-size:14px !important;
  }

  .tools select:nth-of-type(2){
    display:none !important;
  }

  .result-meta{
    font-size:12.5px !important;
    padding:0 3px 8px !important;
  }

  /* Vista celular: tarjetas tipo app, imagen a la izquierda sin recorte */
  .grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .card{
    display:grid !important;
    grid-template-columns:132px minmax(0,1fr) !important;
    min-height:154px !important;
    border-radius:22px !important;
    align-items:stretch !important;
    overflow:hidden !important;
  }

  .card:hover{
    transform:none !important;
  }

  .thumb{
    width:118px !important;
    height:132px !important;
    min-height:132px !important;
    margin:10px 0 10px 10px !important;
    border-radius:18px !important;
    aspect-ratio:1/1 !important;
    background:linear-gradient(180deg,#fff,#f4f7fd) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .thumb img{
    width:100% !important;
    height:100% !important;
    padding:10px !important;
    object-fit:contain !important;
    object-position:center center !important;
  }

  .info{
    padding:10px 10px 10px 8px !important;
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
  }

  .title-box{
    min-height:52px !important;
    padding:8px !important;
    border-radius:14px !important;
  }

  .title{
    font-size:13.4px !important;
    line-height:1.22 !important;
    -webkit-line-clamp:3 !important;
  }

  .badges{
    margin:7px 0 5px !important;
    gap:5px !important;
  }

  .badge{
    font-size:10.5px !important;
    padding:5px 6px !important;
  }

  .price-row{
    margin-top:auto !important;
    align-items:flex-end !important;
  }

  .price{
    font-size:17px !important;
  }

  .stock{
    font-size:10.5px !important;
  }

  .add-btn{
    height:36px !important;
    margin-top:8px !important;
    border-radius:13px !important;
    font-size:13px !important;
  }

  .float-wa{
    right:14px !important;
    bottom:92px !important;
    width:50px !important;
    height:50px !important;
    z-index:88 !important;
  }

  .float-wa svg{
    width:27px !important;
    height:27px !important;
  }

  .mobile-dock{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:95;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    padding:7px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(2,7,18,.86);
    backdrop-filter:blur(20px);
    box-shadow:0 22px 60px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  }

  .dock-item{
    border:0;
    min-width:0;
    min-height:50px;
    border-radius:18px;
    background:rgba(255,255,255,.045);
    color:#eafaff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    font-weight:900;
    transition:transform .18s ease, background .18s ease;
  }

  .dock-item span{
    font-size:18px;
    line-height:1;
  }

  .dock-item small{
    font-size:10.5px;
    line-height:1;
    color:#b8cadb;
  }

  .dock-wa{
    background:rgba(37,211,102,.14) !important;
    color:#fff !important;
  }

  .cart-drawer{
    width:100% !important;
    border-left:0 !important;
  }

  .drawer-head{
    height:60px !important;
  }

  .toast{
    bottom:92px !important;
    width:max-content;
    max-width:calc(100% - 24px);
    text-align:center;
  }

  .footer{
    padding-bottom:105px !important;
  }
}

/* Celulares chicos: imagen más compacta y texto balanceado */
@media (max-width: 390px){
  .card{
    grid-template-columns:118px minmax(0,1fr) !important;
  }

  .thumb{
    width:104px !important;
    height:122px !important;
    min-height:122px !important;
  }

  .thumb img{
    padding:8px !important;
  }

  .title{
    font-size:12.8px !important;
  }

  .price{
    font-size:16px !important;
  }

  .add-btn{
    font-size:12.5px !important;
  }
}

/* En pantallas muy anchas, más productos por fila pero con imágenes bien contenidas */
@media (min-width: 1500px){
  .thumb{
    height:250px;
  }
}

/* Producto individual en celular */
@media (max-width: 820px){
  .back-catalog{
    margin:12px 0 10px !important;
    height:40px !important;
    font-size:13px !important;
  }

  .detail-hero .hero-grid{
    gap:14px !important;
  }

  .product-detail-image{
    min-height:230px !important;
    max-height:260px !important;
  }

  .product-detail-image img{
    width:92% !important;
    height:92% !important;
    object-fit:contain !important;
  }

  .detail-actions{
    gap:8px !important;
    margin-top:16px !important;
  }

  .related-block{
    border-radius:22px !important;
    padding:12px !important;
    margin-bottom:96px !important;
  }

  .related-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .related-card{
    display:grid !important;
    grid-template-columns:94px 1fr !important;
    gap:10px !important;
    align-items:center !important;
  }

  .related-pic{
    height:94px !important;
    margin:0 !important;
  }

  .related-pic img{
    object-fit:contain !important;
    padding:8px !important;
  }

  .related-card strong{
    min-height:auto !important;
    -webkit-line-clamp:3 !important;
  }
}

/* Mejoras de velocidad visual */
.card,
.related-card,
.mini-card{
  transform:translateZ(0);
}

@media (prefers-reduced-motion: reduce){
  .carousel-track,
  .hero::before,
  .logo-panel::before{
    animation:none !important;
  }
}


/* =========================================================
   CONTROL CENTER 2.4 - IMAGE SAFE PRO + UX PREMIUM
   Objetivo: ninguna imagen cortada en miniatura ni detalle.
   La imagen se ajusta por max-width/max-height, no por crop.
   ========================================================= */

.image-fit{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  position:relative;
}

.image-fit img,
.thumb .image-fit img,
.pic .image-fit img,
.related-pic .image-fit img,
.product-detail-image .image-fit img{
  width:auto !important;
  height:auto !important;
  max-width:calc(100% - 22px) !important;
  max-height:calc(100% - 22px) !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:auto !important;
  display:block !important;
  flex:0 0 auto !important;
}

/* Neutraliza reglas anteriores que podían forzar 100%x100% y simular recorte */
.thumb > img,
.pic > img,
.related-pic > img,
.product-detail-image > img{
  width:auto !important;
  height:auto !important;
  max-width:calc(100% - 22px) !important;
  max-height:calc(100% - 22px) !important;
  object-fit:contain !important;
  padding:0 !important;
}

/* Más aire real dentro de cada marco */
.thumb,
.mini-card .pic,
.related-pic{
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #f8fbff 52%, #edf3fb 100%) !important;
}

/* Desktop/tablet: marco más alto y consistente */
@media (min-width: 821px){
  .thumb{
    height:265px !important;
    min-height:265px !important;
  }

  .product-detail-image{
    min-height:420px !important;
    max-height:520px !important;
  }

  .product-detail-image .image-fit{
    min-height:420px !important;
  }

  .product-detail-image .image-fit img{
    max-width:86% !important;
    max-height:86% !important;
  }
}

/* Mobile: tarjetas cómodas, sin recorte y con más espacio para productos verticales */
@media (max-width: 820px){
  .card{
    grid-template-columns:142px minmax(0,1fr) !important;
    min-height:168px !important;
  }

  .thumb{
    width:128px !important;
    height:148px !important;
    min-height:148px !important;
    margin:10px 0 10px 10px !important;
    border-radius:18px !important;
    aspect-ratio:auto !important;
  }

  .thumb .image-fit img{
    max-width:calc(100% - 16px) !important;
    max-height:calc(100% - 16px) !important;
  }

  .title-box{
    min-height:58px !important;
  }

  .title{
    font-size:13.6px !important;
    line-height:1.24 !important;
  }

  .product-detail-image{
    min-height:255px !important;
    max-height:330px !important;
  }

  .product-detail-image .image-fit{
    min-height:255px !important;
  }

  .product-detail-image .image-fit img{
    max-width:88% !important;
    max-height:88% !important;
  }

  .related-pic .image-fit img,
  .mini-card .pic .image-fit img{
    max-width:calc(100% - 14px) !important;
    max-height:calc(100% - 14px) !important;
  }
}

@media (max-width: 390px){
  .card{
    grid-template-columns:128px minmax(0,1fr) !important;
    min-height:160px !important;
  }

  .thumb{
    width:116px !important;
    height:140px !important;
    min-height:140px !important;
  }

  .thumb .image-fit img{
    max-width:calc(100% - 12px) !important;
    max-height:calc(100% - 12px) !important;
  }
}

/* Celulares muy angostos: priorizar legibilidad */
@media (max-width: 340px){
  .card{
    display:block !important;
  }

  .thumb{
    width:calc(100% - 20px) !important;
    height:210px !important;
    margin:10px !important;
  }

  .info{
    padding:0 10px 12px !important;
  }
}

/* Detalle de producto más limpio, comercial y premium */
.detail-hero .hero-grid{
  align-items:center !important;
}

.detail-hero h1{
  max-width:900px;
}

.detail-hero p{
  max-width:620px;
  color:#d3e0ed !important;
}

/* Microinteracciones profesionales */
.card,
.related-card,
.cat-btn,
.add-btn,
.primary-cta,
.secondary-cta{
  -webkit-tap-highlight-color:transparent;
}

.card:active{
  transform:scale(.995) !important;
}

.add-btn:focus-visible,
.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.cat-btn:focus-visible,
.back-catalog:focus-visible{
  outline:3px solid rgba(35,230,255,.44);
  outline-offset:3px;
}

/* Mejor percepción de velocidad al aparecer productos */
.card{
  animation:ccCardIn .22s ease both;
}

@keyframes ccCardIn{
  from{opacity:.0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

@media (prefers-reduced-motion: reduce){
  .card{animation:none !important}
}

/* Barra móvil más refinada */
@media (max-width: 820px){
  .mobile-dock{
    box-shadow:
      0 24px 70px rgba(0,0,0,.55),
      inset 0 1px 0 rgba(255,255,255,.08),
      0 0 0 1px rgba(35,230,255,.05) !important;
  }

  .dock-item{
    min-height:52px !important;
  }

  .dock-item:active{
    transform:scale(.97);
    background:rgba(35,230,255,.10);
  }

  .tools{
    box-shadow:
      0 16px 46px rgba(0,0,0,.33),
      inset 0 1px 0 rgba(255,255,255,.06) !important;
  }
}

/* Calidad visual superior en fondos */
body{
  background-attachment:fixed;
}

.hero{
  box-shadow:
    0 34px 95px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.055),
    0 0 0 1px rgba(35,230,255,.035) !important;
}

.product-detail-image{
  border-color:rgba(35,230,255,.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -34px 80px rgba(8,20,40,.055),
    0 24px 70px rgba(0,0,0,.24) !important;
}


/* =========================================================
   CONTROL CENTER 2.5 - FIX DEFINITIVO MINIATURAS / CACHE
   Esta versión usa assets/v25 para evitar CSS/JS viejos cacheados.
   ========================================================= */

/* Reset fuerte de imágenes de producto: nunca crop, nunca cover */
.thumb,
.card .thumb,
.mini-card .pic,
.related-pic,
.product-detail-image,
.logo-panel.product-detail-image{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #f8fbff 58%, #edf3fb 100%) !important;
}

.image-fit,
.thumb .image-fit,
.mini-card .pic .image-fit,
.related-pic .image-fit,
.product-detail-image .image-fit,
.image-fit-detail{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  flex:1 1 auto !important;
}

/* Clave: width/height auto + max-size evita el recorte visual */
.image-fit > img,
.thumb .image-fit > img,
.card .thumb .image-fit > img,
.mini-card .pic .image-fit > img,
.related-pic .image-fit > img,
.product-detail-image .image-fit > img,
.image-fit-detail > img,
.thumb > img,
.mini-card .pic > img,
.related-pic > img,
.product-detail-image > img{
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:82% !important;
  max-height:82% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:auto !important;
  transform:none !important;
  display:block !important;
}

/* Cards escritorio: recuadro un poco más alto para productos verticales */
@media (min-width:821px){
  .thumb,
  .card .thumb{
    height:285px !important;
    min-height:285px !important;
    aspect-ratio:auto !important;
  }

  .mini-card .pic{
    width:92px !important;
    height:92px !important;
  }

  .product-detail-image{
    min-height:460px !important;
  }

  .product-detail-image .image-fit > img,
  .image-fit-detail > img{
    max-width:78% !important;
    max-height:78% !important;
  }
}

/* Mobile: tarjeta tipo catálogo profesional, imagen sin cortar */
@media (max-width:820px){
  .grid{
    grid-template-columns:1fr !important;
    gap:11px !important;
  }

  .card{
    grid-template-columns:154px minmax(0,1fr) !important;
    min-height:178px !important;
    border-radius:22px !important;
  }

  .thumb,
  .card .thumb{
    width:140px !important;
    height:158px !important;
    min-height:158px !important;
    margin:10px 0 10px 10px !important;
    aspect-ratio:auto !important;
    border-radius:18px !important;
  }

  .thumb .image-fit > img,
  .card .thumb .image-fit > img{
    max-width:80% !important;
    max-height:80% !important;
  }

  .info{
    padding:10px 10px 10px 8px !important;
  }

  .title-box{
    min-height:60px !important;
  }

  .title{
    font-size:13.4px !important;
    line-height:1.23 !important;
  }

  .product-detail-image{
    min-height:285px !important;
    max-height:360px !important;
  }

  .product-detail-image .image-fit > img,
  .image-fit-detail > img{
    max-width:80% !important;
    max-height:80% !important;
  }

  .mini-card .pic{
    width:78px !important;
    height:78px !important;
  }

  .mini-card .pic .image-fit > img{
    max-width:78% !important;
    max-height:78% !important;
  }
}

@media (max-width:390px){
  .card{
    grid-template-columns:140px minmax(0,1fr) !important;
    min-height:170px !important;
  }

  .thumb,
  .card .thumb{
    width:126px !important;
    height:150px !important;
    min-height:150px !important;
  }

  .thumb .image-fit > img,
  .card .thumb .image-fit > img{
    max-width:78% !important;
    max-height:78% !important;
  }
}

@media (max-width:340px){
  .card{
    display:block !important;
  }

  .thumb,
  .card .thumb{
    width:calc(100% - 20px) !important;
    height:230px !important;
    margin:10px !important;
  }
}

/* Mejoras visuales extra */
.card{
  border-color:rgba(255,255,255,.10) !important;
}

.card:hover .thumb{
  box-shadow:
    inset 0 0 0 1px rgba(8,28,54,.05),
    0 18px 36px rgba(0,0,0,.22),
    0 0 28px rgba(35,230,255,.10) !important;
}

.title-box{
  background:
    linear-gradient(180deg,rgba(1,6,17,.99),rgba(8,22,42,.99)) !important;
}

.add-btn{
  letter-spacing:.01em;
}

