*{ box-sizing:border-box; }
:root{
  --bg:#0b1220;
  --panel:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.12);
  --text:#e5e7eb;
  --muted:#cbd5e1;
  --accent:#38bdf8;
  --ok:#34d399;
  --danger:#fb7185;
}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 550px at 15% 0%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(99,102,241,.18), transparent 55%),
    var(--bg);
}
.container{ max-width:1200px; margin:0 auto; padding:0 16px; }
header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.bar{ height:64px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand{ font-weight:950; letter-spacing:-.4px; }
.accent{ color:var(--accent); }

main{ padding:18px 0 34px; display:grid; gap:14px; }
.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.space{ justify-content:space-between; width:100%; }
.hidden{ display:none !important; }

h1,h2,h3{ margin:0 0 8px; letter-spacing:-.5px; }
p{ margin:0 0 12px; }
.muted{ color:var(--muted); }
.tiny{ font-size:12px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.btn{
  border:0; cursor:pointer;
  font-weight:950;
  color:#06202a;
  background: var(--accent);
  padding:12px 14px;
  border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none;
  gap:8px;
  transition: transform 0.1s ease, filter 0.2s ease;
}
.btn:hover{ filter:brightness(1.05); }
.btn:active{ transform: translateY(1px); }
.btn.full{ width:100%; }
.btn.ghost{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: var(--text);
}
.btn.danger{
  background: rgba(251,113,133,.18);
  border:1px solid rgba(251,113,133,.30);
  color: #ffd0d8;
}
.btn.ok{
  background: rgba(52,211,153,.18);
  border:1px solid rgba(52,211,153,.30);
  color:#d9fff2;
}

input, select, textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}
textarea{ resize:vertical; }
label{ display:grid; gap:6px; font-weight:900; }
.form{ display:grid; gap:12px; margin-top:10px; }
.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width: 900px){
  .grid2{ grid-template-columns:1fr; }
}

.badge{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-weight:950;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.badge.ok{ border-color: rgba(52,211,153,.35); color:#bff7e3; }
.badge.danger{ border-color: rgba(251,113,133,.35); color:#ffd0d8; }

.gridProducts{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width:1100px){ .gridProducts{ grid-template-columns: repeat(3, 1fr);} }
@media (max-width:820px){ .gridProducts{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width:520px){ .gridProducts{ grid-template-columns: 1fr;} }

.adminProdGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
  margin-top:10px;
}
@media (max-width:820px){ .adminProdGrid{ grid-template-columns: 1fr; } }

.productCard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius:18px;
  overflow:hidden;
  display:grid;
  grid-template-rows: 160px auto;
  min-height: 320px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.productCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56,189,248,0.15);
}
.imgWrap{
  width:100%;
  height:160px;
  background: rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.imgWrap img{ width:100%; height:100%; object-fit:cover; display:block; }
.pBody{ padding:12px; display:grid; gap:10px; }
.pTitle{ font-weight:950; }
.pDesc{ color:var(--muted); font-size:12px; white-space:pre-wrap; }
.pMeta{ display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.price{ font-weight:950; }
.actions{ display:flex; gap:8px; flex-wrap:wrap; }

/* CARRITO MÁS COMPACTO Y CENTRADO */
.list{ 
  display:grid; 
  gap:10px; 
  margin-top:12px; 
  width: 100%;
}
.list .item{
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius:16px;
  padding:12px;
}

hr.sep{ border:0; border-top:1px solid rgba(255,255,255,.08); margin:14px 0; }

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(11,18,32,.92);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display:none;
  max-width: min(520px, calc(100% - 24px));
  z-index: 100;
}
.toast.show{ display:block; }

.catBlock{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:18px;
  padding:12px;
  margin-top:12px;
}
.catHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.catTitleRow{ display:flex; align-items:center; gap:10px; }
.catBig{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  overflow:hidden;
  background: rgba(255,255,255,.06);
  flex:0 0 34px;
}
.catBig img{ width:100%; height:100%; object-fit:cover; display:block; }
/* ===== NetView Digital: pago manual ===== */
.topBanner{
  background: linear-gradient(90deg, rgba(56,189,248,0.15), rgba(99,102,241,0.15));
  border-bottom:1px solid var(--line); border-top:1px solid var(--line);
  padding:10px 16px; text-align:center; font-size:13px; font-weight:900;
  color:var(--accent); margin-bottom:10px; white-space:pre-wrap;
}
.modalBack{
  display:none; position:fixed; inset:0; background:rgba(0,0,0,0.75);
  z-index:1000; align-items:center; justify-content:center; padding:16px;
}
.modalBack.show{ display:flex; }
.modalBox{
  background:#0b1220; border:1px solid rgba(255,255,255,0.15); border-radius:20px;
  max-width:500px; width:100%; padding:20px; max-height:90vh; overflow-y:auto;
  display:grid; gap:14px; box-shadow:0 20px 40px rgba(0,0,0,0.5);
}
.payBox{
  background:rgba(255,255,255,0.05); padding:14px; border-radius:14px;
  border:1px solid rgba(255,255,255,0.08); display:grid; gap:10px; font-size:14px;
}
.warnBox{
  background:rgba(251,113,133,0.1); border:1px solid rgba(251,113,133,0.3);
  padding:12px; border-radius:12px; font-size:12px; color:#ffd0d8;
}
.infoBox{
  background:rgba(56,189,248,0.08); border:1px solid rgba(56,189,248,0.3);
  padding:12px; border-radius:12px; font-size:13px;
}
.bigAmount{ font-size:32px; font-weight:950; color:var(--ok); letter-spacing:-1px; }
.narrow{ max-width:620px; margin:0 auto; width:100%; }
.steps{ display:flex; gap:6px; }
.steps span{
  flex:1; text-align:center; font-size:11px; font-weight:900; padding:7px 4px;
  border-radius:10px; background:rgba(255,255,255,.05); color:var(--muted); border:1px solid var(--line);
}
.steps span.on{ background:rgba(56,189,248,.18); color:#dff4ff; border-color:rgba(56,189,248,.4); }
.steps span.done{ background:rgba(52,211,153,.15); color:#bff7e3; border-color:rgba(52,211,153,.35); }
.credCard{
  border:1px solid rgba(52,211,153,.35); background:rgba(52,211,153,.07);
  border-radius:14px; padding:12px; display:grid; gap:6px; font-size:14px;
}
.credRow{ display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.spinner{
  width:42px; height:42px; border-radius:50%; margin:6px auto;
  border:4px solid rgba(255,255,255,.12); border-top-color:var(--accent);
  animation:spin 0.9s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.btn:disabled{ opacity:.55; cursor:not-allowed; }
.badge.warn{ border-color: rgba(251,191,36,.45); color:#fde68a; }
.badge.info{ border-color: rgba(56,189,248,.45); color:#cdefff; }
.tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.tabs .btn{ padding:8px 14px; font-size:13px; }
select, select option{ background-color:#0b1220; color:#fff; }

/* ===== Tarjetas de producto (estilo NetView) ===== */
.productCard.nvCard{
  --brand:#8b5cf6;
  position:relative;
  display:flex; flex-direction:column; gap:10px;
  grid-template-rows:none; min-height:300px;
  padding:22px 20px 20px;
  font-family:'Outfit', system-ui, sans-serif;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
    linear-gradient(180deg, #1c1a2e 0%, #141322 100%);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  overflow:hidden;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.productCard.nvCard::before{            /* franja de color arriba */
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #ec4899));
}
.productCard.nvCard:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb, var(--brand) 70%, transparent);
  box-shadow:0 14px 36px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent), 0 10px 40px color-mix(in srgb, var(--brand) 25%, transparent);
}
.nvHead{ display:flex; align-items:center; gap:10px; }
.nvLogo{
  width:30px; height:30px; flex:0 0 30px; border-radius:9px; overflow:hidden;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
}
.nvLogo img{ width:100%; height:100%; object-fit:cover; display:block; }
.nvTitle{ font-weight:700; font-size:18px; line-height:1.2; color:#fff; letter-spacing:-.2px; }
.nvPrice{
  font-weight:800; font-size:32px; line-height:1; color:#fff; letter-spacing:-1px;
  display:flex; align-items:baseline; gap:6px; margin-top:4px;
}
.nvPrice span{ font-weight:500; font-size:13px; letter-spacing:0; color:#a1a1c2; }
.nvCombo{
  align-self:flex-start; font-size:12px; font-weight:600; color:#fde68a;
  background:rgba(250,204,21,.10); border:1px solid rgba(250,204,21,.28);
  padding:4px 10px; border-radius:999px;
}
.nvDesc{
  color:#b4b4cf; font-size:14px; line-height:1.5; white-space:pre-wrap;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
.nvFoot{ margin-top:auto; display:grid; gap:12px; padding-top:6px; }
.nvStock{ font-size:13px; font-weight:500; color:#4ade80; display:flex; align-items:center; gap:6px; }
.nvStock::before{
  content:""; width:8px; height:8px; border-radius:50%; background:currentColor;
  box-shadow:0 0 8px currentColor;
}
.nvStock.off{ color:#f87171; }
.nvStock.wait{ color:#fbbf24; }
.nvBtn{
  width:100%; border:0; cursor:pointer;
  font-family:inherit; font-weight:700; font-size:15px; color:#fff;
  padding:13px 14px; border-radius:12px;
  background:linear-gradient(90deg, #8b5cf6 0%, #ec4899 60%, #f43f5e 100%);
  box-shadow:0 8px 22px rgba(236,72,153,.28);
  transition:transform .1s ease, filter .2s ease, box-shadow .2s ease;
}
.nvBtn:hover{ filter:brightness(1.08); box-shadow:0 10px 28px rgba(236,72,153,.4); }
.nvBtn:active{ transform:translateY(1px); }
.nvBtn:disabled{ background:rgba(255,255,255,.08); box-shadow:none; color:#8b8ba7; cursor:not-allowed; }
.productCard.soldOut{ opacity:.7; }
.productCard.soldOut:hover{ transform:none; }
@media (max-width:520px){
  .nvPrice{ font-size:28px; }
}

/* Encabezado de categoría sin imagen */
.catDot{
  width:6px; height:28px; border-radius:6px; flex:0 0 6px;
  background:linear-gradient(180deg, #8b5cf6, #ec4899);
  box-shadow:0 0 12px rgba(139,92,246,.45);
}

/* ===== Tienda: diseño más angosto y ordenado ===== */
body.store{ font-family:'Outfit', system-ui, sans-serif; padding-bottom:90px; }
.storeWrap{ max-width:1080px; }
body.store main{ gap:22px; padding-top:8px; }
body.store .topBanner{ margin-bottom:0; }

.storeHero{ text-align:center; padding:18px 8px 4px; }
.storeHero h1{ font-size:clamp(26px, 4vw, 38px); font-weight:800; letter-spacing:-1px; margin-bottom:6px; }
.storeHero p{ max-width:560px; margin:0 auto 14px; font-size:15px; }
.howSteps{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.howSteps span{
  display:inline-flex; align-items:center; gap:8px; font-size:13px; color:#cbd5e1;
  padding:6px 12px 6px 6px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid var(--line);
}
.howSteps b{
  width:22px; height:22px; border-radius:50%; display:inline-grid; place-items:center; font-size:12px; color:#fff;
  background:linear-gradient(135deg, #8b5cf6, #ec4899);
}

.storeTools{ display:grid; gap:12px; }
.searchRow{ display:flex; gap:10px; align-items:center; max-width:560px; width:100%; margin:0 auto; }
.searchRow input{ flex:1; padding:12px 16px; border-radius:14px; font-size:15px; font-family:inherit; }
.catChips{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.catChips .btn{ padding:8px 16px !important; font-size:13px !important; border-radius:999px; font-family:inherit; font-weight:700; }
.catChips .btn.ok{ background:linear-gradient(90deg, rgba(139,92,246,.35), rgba(236,72,153,.35)); border-color:rgba(236,72,153,.5); color:#fff; }

/* Categorías sin caja: título + tarjetas */
body.store .catBlock{ border:0; background:transparent; padding:0; margin-top:0; }
body.store #clientCatalog{ display:grid; gap:26px; }
body.store .catHeader{ margin-bottom:12px; }

/* 3 tarjetas por fila en computador */
body.store .gridProducts{ grid-template-columns:repeat(3, 1fr); gap:16px; }
@media (max-width:900px){ body.store .gridProducts{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px){ body.store .gridProducts{ grid-template-columns:1fr; } }
body.store .productCard.nvCard{ min-height:270px; }

/* Botón del carrito en el encabezado */
.cartHeadBtn{
  border:1px solid rgba(236,72,153,.45); background:linear-gradient(90deg, rgba(139,92,246,.25), rgba(236,72,153,.25));
  color:#fff; font-family:inherit; font-weight:800; font-size:14px; padding:8px 14px; border-radius:999px; cursor:pointer;
}
.cartHeadBtn.bump{ animation:bump .35s ease; }
@keyframes bump{ 50%{ transform:scale(1.15); } }

/* Barra fija inferior */
.cartBar{
  position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:80;
  width:min(560px, calc(100% - 24px)); display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 16px; border-radius:16px; border:1px solid rgba(236,72,153,.5); cursor:pointer;
  background:linear-gradient(90deg, #2a1b4a, #3b1838); color:#fff; font-family:inherit; font-size:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.5);
}
.cartBar.hidden{ display:none; }
.cartBarTotal{ font-weight:800; font-size:17px; color:#4ade80; }
.cartBarGo{ font-weight:800; color:#f9a8d4; }
@media (max-width:420px){ .cartBarGo{ display:none; } }

/* Panel lateral */
.drawerBack{ position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:900; opacity:0; pointer-events:none; transition:opacity .2s; }
.drawerBack.show{ opacity:1; pointer-events:auto; }
.cartDrawer{
  position:fixed; top:0; right:0; height:100%; width:min(420px, 100%); z-index:901;
  background:#0f1424; border-left:1px solid var(--line); display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .25s ease; font-family:'Outfit', system-ui, sans-serif;
}
.cartDrawer.show{ transform:none; }
.drawerHead{ display:flex; justify-content:space-between; align-items:center; padding:16px 18px; border-bottom:1px solid var(--line); }
.drawerHead h2{ margin:0; font-size:20px; }
.drawerBody{ flex:1; overflow-y:auto; padding:6px 18px 12px; }
.drawerFoot{ padding:14px 18px 18px; border-top:1px solid var(--line); display:grid; gap:10px; background:#0c1120; }
.linkBtn{ background:none; border:0; color:#fda4af; font-family:inherit; font-size:13px; cursor:pointer; padding:4px; }

/* Ítems del carrito compactos */
.cartItem{ display:grid; grid-template-columns:1fr auto; gap:6px 10px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.cartItem .ciName{ font-weight:700; }
.cartItem .ciSub{ font-size:12px; color:#a1a1c2; }
.cartItem .ciSub.combo{ color:#4ade80; }
.cartItem .ciPrice{ font-weight:800; font-size:17px; text-align:right; }
.ciQty{ display:inline-flex; align-items:center; gap:4px; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:10px; padding:2px; }
.ciQty button{ width:28px; height:28px; border:0; border-radius:8px; background:rgba(255,255,255,.07); color:#fff; cursor:pointer; font-size:16px; }
.ciQty span{ min-width:22px; text-align:center; font-weight:700; }
.ciRm{ background:none; border:0; color:#fda4af; font-size:12px; cursor:pointer; justify-self:end; font-family:inherit; }
.cartSum{ display:grid; gap:4px; font-size:14px; }
.cartSum .row{ justify-content:space-between; }
.cartSum .big{ font-size:22px; font-weight:800; color:#4ade80; }
.cartSum .save{ color:#f9a8d4; font-weight:700; font-size:13px; text-align:center; }
.cartEmpty{ text-align:center; color:#a1a1c2; padding:40px 10px; }
body.store .toast{ bottom:92px; }
.ciQty{ justify-self:start; }

/* ===== Modal y página del pedido con el diseño de la tienda ===== */
body.store .modalBack{ background:rgba(5,6,15,.78); backdrop-filter:blur(4px); }
body.store .modalBox,
body.store .orderCard{
  font-family:'Outfit', system-ui, sans-serif;
  position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.08); border-radius:20px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(139,92,246,.20), transparent 60%),
    linear-gradient(180deg, #1c1a2e 0%, #141322 100%);
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  padding:24px 22px;
}
body.store .modalBox::before,
body.store .orderCard::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, #8b5cf6, #ec4899, #f43f5e);
}
.modalTitle{ margin:0; font-size:20px; font-weight:800; color:#fff; }
body.store .modalBox label,
body.store .orderCard label{ font-weight:600; font-size:14px; color:#e5e7eb; }
body.store .modalBox input, body.store .modalBox select,
body.store .orderCard input, body.store .orderCard select{
  font-family:inherit; font-size:15px; padding:12px 14px; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); color:#fff;
}
body.store .modalBox input:focus, body.store .orderCard input:focus, body.store .orderCard select:focus{
  border-color:rgba(236,72,153,.6); box-shadow:0 0 0 3px rgba(236,72,153,.15);
}
body.store .payBox{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:14px;
  font-family:'Outfit', system-ui, sans-serif;
}
body.store .payBox b{ font-weight:700; }
body.store .infoBox{ background:rgba(139,92,246,.10); border-color:rgba(139,92,246,.35); color:#e9e3ff; border-radius:12px; }
body.store .warnBox{ border-radius:12px; }
body.store a.nvBtn{ display:block; }

/* Página del pedido */
body.orderPage main{ padding-top:22px; }
body.store .orderCard{ display:grid; gap:14px; max-width:560px; }
.secTitle{ margin:6px 0 0; font-size:17px; font-weight:800; color:#fff; }
body.store .bigAmount{
  font-size:40px; font-weight:800; letter-spacing:-1.5px;
  background:linear-gradient(90deg, #4ade80, #22d3ee); -webkit-background-clip:text; background-clip:text; color:transparent;
}
body.store .steps span{ font-family:inherit; font-weight:700; font-size:12px; border-radius:999px; padding:8px 4px; }
body.store .steps span.on{ background:linear-gradient(90deg, rgba(139,92,246,.35), rgba(236,72,153,.35)); border-color:rgba(236,72,153,.5); color:#fff; }
body.store .steps span.done{ background:rgba(74,222,128,.12); border-color:rgba(74,222,128,.35); color:#bbf7d0; }
body.store .credCard{
  border-radius:16px; border:1px solid rgba(74,222,128,.30);
  background:linear-gradient(180deg, rgba(74,222,128,.08), rgba(74,222,128,.03)); padding:16px; gap:8px; font-size:15px;
}
body.store .btn.ghost{ font-family:inherit; font-weight:700; border-radius:12px; }
body.store .spinner{ border-top-color:#ec4899; }
body.store{ min-height:100vh; background-attachment:fixed; }

/* ===== Panel admin con el diseño de la tienda ===== */
.adminWrap{ max-width:1000px; }
body.admin{ padding-bottom:30px; }
body.admin main{ padding-top:20px; }
body.admin .brand .accent{ background:linear-gradient(90deg,#a78bfa,#f472b6); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Tarjetas principales (login y panel) */
body.admin #viewAdminLogin,
body.admin #viewAdmin{
  font-family:'Outfit', system-ui, sans-serif; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.08); border-radius:20px; padding:24px 24px 28px;
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(139,92,246,.16), transparent 60%),
    linear-gradient(180deg, #1a1830 0%, #131221 100%);
  box-shadow:0 20px 50px rgba(0,0,0,.45);
}
body.admin #viewAdminLogin{ max-width:460px; margin:40px auto 0; width:100%; }
body.admin #viewAdminLogin::before,
body.admin #viewAdmin::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, #8b5cf6, #ec4899, #f43f5e);
}
body.admin h2{ font-size:24px; font-weight:800; letter-spacing:-.5px; }
body.admin h3{ font-size:18px; font-weight:800; color:#fff; }
body.admin label{ font-weight:600; font-size:14px; color:#e5e7eb; }
body.admin hr.sep{ border-top-color:rgba(255,255,255,.07); margin:18px 0; }

/* Campos */
body.admin input, body.admin select, body.admin textarea{
  font-family:inherit; font-size:15px; padding:11px 14px; border-radius:12px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); color:#fff;
}
body.admin input:focus, body.admin select:focus, body.admin textarea:focus{
  border-color:rgba(236,72,153,.6); box-shadow:0 0 0 3px rgba(236,72,153,.15);
}
body.admin input[type=checkbox]{ accent-color:#ec4899; width:18px; height:18px; padding:0; }

/* Botones: principal y "ok" con degradado */
body.admin .btn{ font-family:inherit; font-weight:700; border-radius:12px; }
body.admin .btn:not(.ghost):not(.danger):not(.ok){
  background:linear-gradient(90deg, #8b5cf6 0%, #ec4899 60%, #f43f5e 100%); color:#fff;
  box-shadow:0 8px 22px rgba(236,72,153,.25);
}
body.admin .btn.ok{
  background:linear-gradient(90deg, rgba(139,92,246,.30), rgba(236,72,153,.30));
  border:1px solid rgba(236,72,153,.45); color:#fff;
}
body.admin .btn.ghost{ background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.12); }

/* Pestañas en píldora */
body.admin .tabs{ gap:8px; }
body.admin .tabs .btn{ border-radius:999px; padding:9px 16px !important; font-size:14px !important; }
body.admin .tabs .btn.ghost{ color:#cbd5e1; }
body.admin .tabs .btn.ok{ background:linear-gradient(90deg, #8b5cf6, #ec4899); border-color:transparent; box-shadow:0 6px 18px rgba(236,72,153,.3); }

/* Listas (pedidos, cuentas, productos, categorías) */
body.admin .list .item{
  max-width:none; border-radius:16px; padding:14px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
}
body.admin .list .item:hover{ border-color:rgba(236,72,153,.35); }
body.admin .catBlock{ border:0; background:transparent; padding:0; margin-top:16px; }
body.admin .adminProdGrid{ gap:12px; }
body.admin .infoBox{ background:rgba(139,92,246,.10); border-color:rgba(139,92,246,.35); color:#e9e3ff; border-radius:12px; }
body.admin .badge{ font-family:inherit; }

/* Pantallas de una cuenta */
body.admin .screensBox{ background:rgba(0,0,0,.22); border-color:rgba(255,255,255,.08); border-radius:16px; }
body.admin .screenRow{ background:rgba(255,255,255,.035); border-color:rgba(255,255,255,.07); border-radius:12px; }
body.admin .screenRow .sLabel{ color:#f0abfc; }
body.admin .chip{ border-radius:999px; padding:4px 10px; }

@media (max-width:640px){
  body.admin #viewAdmin{ padding:18px 14px 22px; border-radius:16px; }
  body.admin .tabs .btn{ flex:1 1 45%; }
}
body.admin .grid2.alignStart{ align-items:start; gap:14px 16px; }
.fieldHint{ font-weight:400; font-size:12px; color:#a1a1c2; }
body.admin .checkRow{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:12px;
  background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.08); cursor:pointer; }
body.admin .btn{ font-size:14px; padding:10px 14px; }
body.admin .list .item .btn{ font-size:13px; padding:8px 12px; }

/* Tarjetas de productos del admin: info arriba, botones abajo (todas iguales) */
.prodItem{ display:flex; flex-direction:column; gap:8px; }
.prodTop{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
.prodName{ font-weight:800; font-size:16px; }
.prodPrices{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:#a1a1c2; }
.prodPrices b{ color:#fff; }
.prodDesc{ white-space:pre-wrap; }
.prodActions{ display:flex; gap:8px; margin-top:auto; padding-top:4px; }
/* FIN-ESTILOS-NETVIEW v20261103g */

/* Vencimientos */
.expItem{ display:flex; flex-direction:column; gap:10px; }
.expScreens{ display:grid; gap:6px; }
.expScreen{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
  padding:8px 10px; border-radius:10px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); font-size:14px; }
/* FIN-ESTILOS-NETVIEW v20261103h */

/* Logo del negocio */
.brand{ display:inline-flex; align-items:center; gap:10px; }
.brandLogo{ height:38px; width:auto; max-width:140px; object-fit:contain; display:block; }
@media (max-width:520px){ .brandLogo{ height:32px; max-width:100px; } }
.logoPreview{ width:120px; height:80px; border-radius:12px; border:1px dashed rgba(255,255,255,.2); display:grid; place-items:center;
  color:#a1a1c2; font-size:12px; background:rgba(255,255,255,.03); overflow:hidden; }
.logoPreview img{ max-width:100%; max-height:100%; object-fit:contain; }
/* FIN-ESTILOS-NETVIEW v20261104d */

/* Logo grande de portada (reemplaza el título) */
.heroLogo{ display:block; margin:0 auto 10px; max-width:min(420px, 80%); max-height:170px; width:auto; height:auto; object-fit:contain;
  filter:drop-shadow(0 10px 30px rgba(139,92,246,.35)); }
.srOnly{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.heroPreview{ width:180px; height:90px; background:repeating-conic-gradient(rgba(255,255,255,.06) 0% 25%, transparent 0% 50%) 0 0/16px 16px; }
/* FIN-ESTILOS-NETVIEW v20261106b */

/* Logo arriba (donde iba el banner) y banner en la portada (donde iba el logo) */
.topLogoWrap{ text-align:center; padding:22px 16px 6px;
  background:radial-gradient(ellipse at 50% 60%, rgba(139,92,246,.18), transparent 65%); }
.topLogoWrap .heroLogo{ margin:0 auto; }
.storeHero .heroBanner{ margin:0 auto 18px; max-width:720px; border:1px solid rgba(56,189,248,.28); border-radius:18px;
  padding:14px 18px; font-size:14.5px; line-height:1.45; box-shadow:0 8px 30px rgba(56,189,248,.08); }
.storeHero .heroBanner:empty{ display:none; }
/* Menos espacio alrededor del logo y banner más arriba */
.topLogoWrap{ padding:10px 16px 0; }
.topLogoWrap .heroLogo{ max-height:130px; margin:0 auto; }
body.store main{ padding-top:0; }
.storeHero{ padding-top:8px; }
.storeHero .heroBanner{ margin:0 auto 12px; }
/* Categorías: unas visibles + lista con las demás */
.catChips .catMoreBtn{ border-style:dashed !important; }
.catMorePanel{ flex-basis:100%; display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:6px; margin-top:4px;
  padding:8px; border:1px solid var(--line); border-radius:16px; background:rgba(15,12,30,.85); }
.catMoreItem{ display:flex; justify-content:space-between; align-items:center; gap:8px; padding:11px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.04); color:inherit; font:inherit; font-weight:700; font-size:14px; cursor:pointer; text-align:left; }
.catMoreItem:hover{ background:rgba(139,92,246,.18); border-color:rgba(139,92,246,.45); }
/* Imagen de fondo de la tarjeta: lado derecho, se desvanece hacia la izquierda */
.nvBg{ position:absolute; top:0; right:0; bottom:0; width:62%; z-index:0; pointer-events:none;
  background-position:center; background-size:cover; background-repeat:no-repeat; opacity:.6;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.85) 65%, #000 100%);
          mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.85) 65%, #000 100%); }
.productCard.nvCard > :not(.nvBg){ position:relative; z-index:1; }
.productCard.nvCard > .nvBg + .nvHead .nvTitle, .productCard.nvCard .nvPrice{ text-shadow:0 2px 12px rgba(0,0,0,.55); }
body.store .productCard.nvCard{ min-height:220px; }
/* Botón flotante de ayuda */
#nvHelp{ position:fixed; right:18px; bottom:18px; z-index:850; display:flex; flex-direction:column; align-items:flex-end; gap:10px;
  pointer-events:none; /* el contenedor no bloquea toques: solo el botón y el menú abierto */
  font-family:inherit; }
.nvHelpBtn{ pointer-events:auto; width:58px; height:58px; border-radius:50%; border:0; cursor:pointer; color:#fff; font-size:26px; font-weight:900;
  background:linear-gradient(135deg,#a855f7,#ec4899); box-shadow:0 10px 30px rgba(236,72,153,.45), 0 0 0 4px rgba(168,85,247,.18);
  display:flex; align-items:center; justify-content:center; transition:transform .2s ease; position:relative; }
.nvHelpBtn:hover{ transform:scale(1.07); }
.nvHelpBtn::after{ content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(236,72,153,.55); animation:nvHelpPulse 2.4s ease-out infinite; }
#nvHelp.open .nvHelpBtn::after{ display:none; }
@keyframes nvHelpPulse{ 0%{ transform:scale(1); opacity:.9; } 100%{ transform:scale(1.45); opacity:0; } }
.nvHelpX{ display:none; font-size:20px; }
#nvHelp.open .nvHelpQ{ display:none; }
#nvHelp.open .nvHelpX{ display:inline; }
.nvHelpMenu{ width:min(300px, calc(100vw - 36px)); padding:10px; border-radius:18px; background:rgba(18,16,34,.97);
  border:1px solid rgba(168,85,247,.4); box-shadow:0 20px 50px rgba(0,0,0,.55); display:grid; gap:8px;
  opacity:0; transform:translateY(10px) scale(.97); pointer-events:none; transition:.18s ease; transform-origin:bottom right; }
#nvHelp.open .nvHelpMenu{ opacity:1; transform:none; pointer-events:auto; }
.nvHelpHead{ font-weight:800; font-size:14px; padding:4px 6px 2px; color:#e9d5ff; }
.nvHelpOpt{ display:flex; gap:12px; align-items:center; padding:11px 12px; border-radius:14px; text-decoration:none; color:#f4f0ff;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); transition:.15s; }
.nvHelpOpt:hover{ background:rgba(168,85,247,.18); border-color:rgba(168,85,247,.45); }
.nvHelpOpt b{ display:block; font-size:14px; }
.nvHelpOpt small{ display:block; font-size:12px; color:#b9aed6; line-height:1.3; margin-top:2px; }
.nvHelpIco{ flex:none; width:38px; height:38px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:19px;
  background:rgba(168,85,247,.2); }
.nvHelpIco.wa{ background:rgba(37,211,102,.2); }
@media (max-width:600px){ #nvHelp{ right:14px; bottom:14px; } .nvHelpBtn{ width:54px; height:54px; } }
/* Si aparece la barra del carrito abajo, el botón sube para no taparla */
body:has(.cartBar:not(.hidden)) #nvHelp{ bottom:90px; }
/* Etiquetas y ofertas en las tarjetas */
.nvHead{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.nvTag{ flex:none; font-size:11.5px; font-weight:800; padding:4px 9px; border-radius:999px; white-space:nowrap;
  background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(4px); }
.nvTag.tag-top{ color:#fdba74; border-color:rgba(251,146,60,.55); background:rgba(124,45,18,.45); }
.nvTag.tag-rec{ color:#fde68a; border-color:rgba(250,204,21,.5); background:rgba(113,63,18,.45); }
.nvTag.tag-new{ color:#86efac; border-color:rgba(74,222,128,.5); background:rgba(20,83,45,.45); }
.nvOfferRow{ display:flex; align-items:center; gap:8px; margin-top:4px; }
.nvOfferRow s{ color:#a1a1c2; font-size:14px; }
.nvOfferChip{ font-size:11px; font-weight:900; letter-spacing:.5px; padding:3px 8px; border-radius:6px; color:#fff;
  background:linear-gradient(90deg,#f43f5e,#f97316); }
.nvTimer{ display:inline-block; margin-top:6px; font-size:12.5px; font-weight:800; color:#fda4af; font-variant-numeric:tabular-nums;
  padding:4px 10px; border-radius:999px; background:rgba(244,63,94,.12); border:1px solid rgba(244,63,94,.35); }
.nvRes{ margin-top:6px; font-size:13px; color:#93c5fd; }
.nvRes b{ color:#bfdbfe; }
/* Carrito: planes, cupón y revendedor */
.cartPlans{ display:grid; gap:6px; margin-bottom:10px; }
.planChips{ display:flex; gap:6px; flex-wrap:wrap; }
.planChip{ flex:1; min-width:80px; display:grid; gap:1px; justify-items:center; padding:9px 8px; border-radius:12px; cursor:pointer; font:inherit; font-weight:800; font-size:13px;
  color:inherit; background:rgba(255,255,255,.05); border:1px solid var(--line); }
.planChip small{ font-size:11px; color:#4ade80; font-weight:800; }
.planChip.on{ border-color:rgba(236,72,153,.7); background:linear-gradient(135deg,rgba(168,85,247,.28),rgba(236,72,153,.22)); }
.couponBox{ margin-bottom:10px; }
.couponRow{ display:flex; gap:6px; }
.couponRow input{ flex:1; min-width:0; text-transform:uppercase; }
.couponRow .btn{ padding:8px 12px; }
.couponOn{ padding:9px 12px; border-radius:12px; font-size:13.5px; background:rgba(74,222,128,.1); border:1px dashed rgba(74,222,128,.5); }
.couponOn.bad{ background:rgba(244,63,94,.1); border-color:rgba(244,63,94,.5); }
.couponErr{ margin-top:6px; color:#fda4af; }
.resBox{ margin-bottom:10px; padding:9px 12px; border-radius:12px; font-size:13.5px; background:rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.4); }
.linkBtn{ background:none; border:0; color:var(--accent,#f472b6); font:inherit; font-weight:700; cursor:pointer; text-decoration:underline; padding:0 0 0 6px; }
/* Modo mantenimiento */
.maintOverlay{ position:fixed; inset:0; z-index:2000; display:flex; align-items:center; justify-content:center; padding:20px;
  background:radial-gradient(circle at 50% 30%, rgba(168,85,247,.25), transparent 60%), #0b0716; }
.maintCard{ max-width:420px; text-align:center; padding:28px 22px; border-radius:22px; background:rgba(255,255,255,.05); border:1px solid rgba(168,85,247,.4); }
.maintCard h2{ margin:10px 0 6px; }
.maintCard p{ color:#c9bfe6; margin:0; line-height:1.5; white-space:pre-wrap; }
body.maintOn{ overflow:hidden; }
.maintAdminBar{ position:sticky; top:0; z-index:950; padding:9px 14px; text-align:center; font-size:13px; font-weight:700; color:#1c1917; background:#fbbf24; }
.accHeadBtn{ display:inline-flex; align-items:center; gap:4px; padding:8px 12px; border-radius:999px; text-decoration:none; color:inherit;
  font-weight:700; font-size:14px; border:1px solid var(--line); background:rgba(255,255,255,.05); }
.accHeadBtn:hover{ border-color:rgba(168,85,247,.6); }
@media (max-width:480px){ .accHeadBtn{ padding:7px 10px; font-size:13px; font-weight:700; } }
@media (max-width:350px){ .accHeadBtn span{ display:none; } }
.resBar{ display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; padding:8px 14px; font-size:13.5px;
  background:linear-gradient(90deg,rgba(37,99,235,.35),rgba(59,130,246,.2)); border-bottom:1px solid rgba(59,130,246,.45); color:#dbeafe; }
.resBar button{ border:1px solid rgba(255,255,255,.35); background:rgba(0,0,0,.25); color:#fff; font:inherit; font-weight:800; font-size:12.5px;
  padding:5px 14px; border-radius:999px; cursor:pointer; }
/* FIN-ESTILOS-NETVIEW v20261107g */

/* v20261107k: descripción del producto en amarillo (se lee sobre la imagen de fondo) */
.nvDesc{ color:#fbbf24 !important; font-weight:600; text-shadow:0 1px 3px rgba(0,0,0,.85), 0 0 8px rgba(0,0,0,.6); }

/* v20261107l: código del cliente grande en Vencimientos */
.cliCode{ display:inline-flex; align-items:center; gap:10px; margin:6px 0 4px; padding:6px 8px 6px 14px; border-radius:12px; background:rgba(240,171,252,.10); border:1px solid rgba(240,171,252,.45); }
.cliCode b{ font-size:22px; letter-spacing:3px; color:#f0abfc; }
.cliCode .btn{ padding:5px 12px; font-size:12px; }

/* v20261107m: Solucionar un problema → botones de plataformas */
button.nvHelpOpt{ width:100%; font:inherit; text-align:left; cursor:pointer; }
.nvHelpPlat{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:2px 2px 4px; }
.nvHelpPlat[hidden]{ display:none; }
.nvHelpPlat button{ font:inherit; font-size:13px; font-weight:700; color:#f4f0ff; padding:10px 8px; border-radius:12px; cursor:pointer;
  background:linear-gradient(135deg, rgba(168,85,247,.22), rgba(236,72,153,.22)); border:1px solid rgba(244,114,182,.45); }
.nvHelpPlat button:hover{ border-color:#f472b6; }
.nvHelpPlat button:last-child{ grid-column:1 / -1; }

/* v20261108c: Configuración organizada en secciones */
.cfgSec{ border:1px solid rgba(255,255,255,.10); border-radius:16px; background:rgba(255,255,255,.03); margin-bottom:10px; overflow:hidden; scroll-margin-top:12px; }
.cfgSec[open]{ border-color:rgba(168,85,247,.55); background:rgba(168,85,247,.06); }
.cfgSec > summary{ list-style:none; display:flex; align-items:center; gap:12px; padding:14px 16px; cursor:pointer; user-select:none; }
.cfgSec > summary::-webkit-details-marker{ display:none; }
.cfgIco{ flex:none; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; background:rgba(168,85,247,.18); }
.cfgHead{ flex:1; min-width:0; display:grid; gap:2px; }
.cfgHead b{ font-size:15px; }
.cfgHead small{ font-size:12px; opacity:.7; line-height:1.35; }
.cfgChip{ flex:none; font-size:11px; font-weight:800; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); white-space:nowrap; }
.cfgChip:empty{ display:none; }
.cfgChip.ok{ color:#86efac; background:rgba(34,197,94,.12); border-color:rgba(34,197,94,.4); }
.cfgChip.warn{ color:#fde68a; background:rgba(250,204,21,.12); border-color:rgba(250,204,21,.4); }
.cfgChip.bad{ color:#fecaca; background:rgba(239,68,68,.2); border-color:rgba(239,68,68,.6); }
.cfgArrow{ flex:none; font-size:22px; opacity:.6; transition:transform .2s; }
.cfgSec[open] .cfgArrow{ transform:rotate(90deg); }
.cfgBody{ padding:4px 16px 18px; border-top:1px solid rgba(255,255,255,.08); }
.cfgSub{ margin:16px 0 8px; font-size:14px; color:#e9d5ff; }
@media (max-width:480px){ .cfgHead small{ display:none; } }

/* v20261109e: etiquetas personalizadas */
.nvTag.tag-c-orange{ color:#fdba74; border-color:rgba(251,146,60,.55); background:rgba(124,45,18,.45); }
.nvTag.tag-c-yellow{ color:#fde68a; border-color:rgba(250,204,21,.5); background:rgba(113,63,18,.45); }
.nvTag.tag-c-green{ color:#86efac; border-color:rgba(74,222,128,.5); background:rgba(20,83,45,.45); }
.nvTag.tag-c-blue{ color:#93c5fd; border-color:rgba(96,165,250,.55); background:rgba(30,58,138,.45); }
.nvTag.tag-c-purple{ color:#d8b4fe; border-color:rgba(192,132,252,.55); background:rgba(76,29,149,.45); }
.nvTag.tag-c-pink{ color:#f9a8d4; border-color:rgba(244,114,182,.55); background:rgba(131,24,67,.45); }
.nvTag.tag-c-red{ color:#fca5a5; border-color:rgba(248,113,113,.55); background:rgba(127,29,29,.5); }
.nvTag.tag-c-gray{ color:#e5e7eb; border-color:rgba(209,213,219,.4); background:rgba(55,65,81,.5); }
.badgeMgr{ display:grid; gap:10px; padding:14px; border-radius:14px; border:1px dashed rgba(192,132,252,.5); background:rgba(168,85,247,.06); }
.badgeChips{ display:flex; flex-wrap:wrap; gap:8px; }
.badgeChip{ display:inline-flex; align-items:center; gap:4px; padding:3px 4px 3px 3px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); }
.badgeChip button{ background:none; border:0; cursor:pointer; font-size:13px; padding:2px 6px; }
.badgeNew{ display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:center; }
.badgeNew select{ width:auto; }
@media (max-width:480px){ .badgeNew{ grid-template-columns:1fr 1fr; } .badgeNew input{ grid-column:1/-1; } }

/* v20261109i: portada opción B (tarjeta de bienvenida + buscador y categorías pegados) */
.welcomeCard{ max-width:720px; margin:0 auto; padding:18px 18px 16px; border-radius:22px; text-align:left;
  background:linear-gradient(135deg, rgba(124,58,237,.42), rgba(219,39,119,.30)); border:1px solid rgba(244,114,182,.38);
  box-shadow:0 14px 40px rgba(124,58,237,.18); }
.welcomeCard h1{ margin:0; font-size:clamp(22px, 5.6vw, 32px); font-weight:900; letter-spacing:-.6px; line-height:1.1; }
.welcomeCard p{ margin:6px 0 0 !important; font-size:14px !important; color:#f3e8ff; max-width:none !important; }
.wcSteps{ display:flex; align-items:center; gap:6px; margin-top:14px; font-size:13px; font-weight:800; }
.wcSteps span{ display:flex; align-items:center; gap:6px; white-space:nowrap; }
.wcSteps b{ flex:none; width:24px; height:24px; border-radius:999px; background:#fff; color:#7c3aed; font-weight:900; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.wcSteps i{ flex:1; min-width:8px; max-width:40px; height:2px; background:rgba(255,255,255,.4); border-radius:2px; }
@media (max-width:420px){ .wcSteps span:nth-of-type(2){ white-space:normal; line-height:1.15; } .wcSteps{ font-size:12px; } }
.comboPill{ display:table; margin:12px auto 0; padding:7px 14px; border-radius:999px; font-size:13px; font-weight:800;
  color:#fde68a; background:rgba(250,204,21,.12); border:1px solid rgba(250,204,21,.45); }
.storeHero .howSteps{ display:none; }

.stickyTools{ position:sticky; top:var(--hdrH, 62px); z-index:40; margin:14px -16px 0; padding:10px 16px;
  background:rgba(12,15,32,.94); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-top:1px solid rgba(255,255,255,.07); border-bottom:1px solid rgba(255,255,255,.07); gap:10px !important; }
.catScrollWrap{ position:relative; max-width:900px; width:100%; margin:0 auto; }
.catScroll{ flex-wrap:nowrap !important; justify-content:flex-start !important; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:2px 2px 4px; }
.catScroll::-webkit-scrollbar{ display:none; }
.catScroll .btn{ flex:none; scroll-snap-align:start; white-space:nowrap; }
.catScrollWrap::before, .catScrollWrap::after{ content:""; position:absolute; top:0; bottom:4px; width:34px; pointer-events:none; opacity:0; transition:opacity .2s; z-index:1; }
.catScrollWrap::before{ left:0; background:linear-gradient(90deg, rgba(12,15,32,.95), transparent); }
.catScrollWrap::after{ right:0; background:linear-gradient(270deg, rgba(12,15,32,.95), transparent); }
.catScrollWrap.catMoreLeft::before, .catScrollWrap.catMoreRight::after{ opacity:1; }
@media (min-width:900px){ .catScroll{ justify-content:center !important; } }
.stickyTools > *{ min-width:0; }
.stickyTools{ grid-template-columns:minmax(0, 1fr); }
.catScroll{ max-width:100%; }

/* v20261109j: guías de "Solucionar un problema" */
.nvGuideBack{ position:fixed; inset:0; z-index:2000; display:none; align-items:flex-end; justify-content:center; background:rgba(5,3,12,.72); backdrop-filter:blur(4px); }
.nvGuideBack.show{ display:flex; }
.nvGuideBox{ position:relative; width:min(560px, 100%); max-height:92vh; overflow:auto; padding:20px 18px 18px; border-radius:24px 24px 0 0;
  background:#120e22; border:1px solid rgba(192,132,252,.35); box-shadow:0 -20px 60px rgba(0,0,0,.5); color:#f4f0ff; font-family:inherit; }
@media (min-width:600px){ .nvGuideBack{ align-items:center; } .nvGuideBox{ border-radius:24px; } }
.nvGuideX{ position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:999px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.06); color:inherit; font-size:15px; cursor:pointer; }
.nvGuideHead{ padding-right:40px; font-size:17px; line-height:1.3; }
.nvGuideIntro{ margin:8px 0 12px; font-size:13.5px; opacity:.8; }
.nvGuideSteps{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.nvGuideSteps li{ display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-size:14px; line-height:1.45; }
.nvGuideSteps li span{ flex:none; width:26px; height:26px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; }
.nvGuideSteps li.nvgWarn{ border-color:rgba(250,204,21,.5); background:rgba(250,204,21,.08); }
.nvgK{ display:inline-block; padding:1px 8px; border-radius:7px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); font-weight:800; }
.nvGuideGo{ display:block; margin-top:14px; padding:14px; border-radius:14px; text-align:center; font-weight:900; font-size:16px; text-decoration:none; color:#fff;
  background:linear-gradient(90deg,#e50914,#b20710); box-shadow:0 12px 30px rgba(229,9,20,.35); }
.nvGuideWa{ display:block; margin-top:10px; text-align:center; font-size:13px; color:#86efac; text-decoration:underline; }
.nvProbList{ display:grid; gap:8px; }
.nvProb{ display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:14px 14px; border-radius:14px; cursor:pointer; text-align:left;
  font:inherit; font-size:15px; font-weight:800; color:#f4f0ff; background:linear-gradient(135deg, rgba(229,9,20,.18), rgba(168,85,247,.14)); border:1px solid rgba(248,113,113,.45); }
.nvProb span:last-child{ font-size:22px; opacity:.7; }
.nvGuideBack2{ display:inline-block; margin:0 0 10px; padding:6px 12px; border-radius:999px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer;
  color:#e9d5ff; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); }

/* v20261109p: precios de revendedor por plataforma */
.rsPrices{ display:grid; gap:6px; padding:12px; border-radius:14px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03); }
.rsPriceList{ display:grid; gap:6px; max-height:420px; overflow:auto; padding-right:2px; }
.rsPriceRow{ display:grid !important; grid-template-columns:1fr 120px; gap:10px; align-items:center; padding:8px 10px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
.rsPriceRow span{ display:grid; gap:2px; min-width:0; }
.rsPriceRow small{ font-size:11.5px; opacity:.65; }
.rsPriceRow input{ text-align:right; padding:8px 10px !important; }
.rsPriceRow.off{ opacity:.55; }

/* v20261109r: mensaje grande (bienvenida del revendedor) */
.toast.big{ left:50% !important; right:auto !important; top:50% !important; bottom:auto !important; transform:translate(-50%, -50%) !important;
  width:min(88vw, 420px); padding:26px 24px !important; border-radius:22px !important; font-size:20px !important; font-weight:800; line-height:1.35; text-align:center;
  background:linear-gradient(135deg, #7c3aed, #db2777) !important; color:#fff !important; border:1px solid rgba(255,255,255,.25) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.55), 0 0 0 9999px rgba(5,3,12,.45) !important; z-index:3000; }

/* v20261111c: pestaña Clientes */
.cliRow{ display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
.cliRow.off{ border-color:rgba(239,68,68,.45); background:rgba(239,68,68,.06); }
.cliRow.off .cliCodeTxt{ text-decoration:line-through; opacity:.7; }
.cliMain{ min-width:0; }
.cliMain b{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cliRow .btn{ padding:7px 12px; font-size:13px; white-space:nowrap; }
@media (max-width:480px){ .cliRow{ grid-template-columns:1fr auto; } .cliRow .cfgChip{ display:none; } }
.cliRow{ grid-template-columns:1fr auto !important; }
.cliMain{ display:grid; gap:4px; }
.cliCodeTxt{ font-size:20px; font-weight:900; letter-spacing:3px; color:#f0abfc; }
.cliRow.off .cliCodeTxt{ color:#fca5a5; }
.cliBtns{ display:flex; gap:8px; align-items:center; }
@media (max-width:480px){ .cliBtns{ flex-direction:column; align-items:stretch; } }

/* v20261111f: nombre y apellido */
.nameGrid{ gap:10px !important; }
.rnName{ display:grid; gap:8px; }
.rnName label{ display:grid; gap:4px; font-weight:700; }

/* v20261111l — Armar pedido (admin) */
.bdProducts{ display:grid; gap:6px; max-height:300px; overflow:auto; padding-right:2px; }
.bdRow{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.03); }
.bdRow.on{ border-color:var(--ok); background:rgba(34,197,94,.08); }
.bdRow small{ display:block; opacity:.7; font-size:12px; }
.bdQty{ display:flex; align-items:center; gap:8px; }
.bdQty button{ width:34px; height:34px; border-radius:10px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.06); color:inherit; font-size:18px; font-weight:800; }
.bdQty b{ min-width:18px; text-align:center; }

/* v20261111m — Clientes: editar nombre y asignar código */
.cliNoCode{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:10px 12px; margin-bottom:10px; border:1px dashed var(--accent); border-radius:12px; font-weight:700; }
.cliEditBox{ flex-basis:100%; display:grid; gap:8px; margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,.1); }
.cliEditBox{ grid-column:1 / -1; }
.cliEditBox .row .btn{ flex:1; }
.cliMain b{ white-space:normal; overflow-wrap:anywhere; }

/* v20261113a — Fecha de renovación en Pedidos */
.renewDate{ margin-top:8px; padding:8px 12px; border-radius:12px; background:rgba(56,189,248,.08); border:1px solid rgba(56,189,248,.3); color:#bae6fd; font-size:14px; }
.renewDate b{ color:#e0f2fe; }
.renewDate.soon, .renewDate .soon{ color:#fde68a; } .renewDate.soon{ background:rgba(250,204,21,.08); border-color:rgba(250,204,21,.4); }
.renewDate.late, .renewDate .late{ color:#fca5a5; } .renewDate.late{ background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.4); }

/* v20261113c — Pantallas sin cliente */
.orphBox{ border:1px solid rgba(250,204,21,.45); background:rgba(250,204,21,.07); border-radius:16px; padding:12px; margin-bottom:12px; display:grid; gap:10px; }
.orphHead{ font-weight:900; color:#fde68a; }
.orphRow{ border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:10px 12px; background:rgba(0,0,0,.2); }
.oPick{ margin-top:8px; display:grid; gap:6px; }
.oRes{ display:grid; gap:6px; }
.oCli{ text-align:left; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05); color:inherit; }
.oCli small{ display:block; opacity:.7; }

/* v20261114b — Tienda: 2 tarjetas por fila en el teléfono */
.nvShort{ display:none; }
@media (max-width:560px){
  body.store .gridProducts{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  body.store .productCard.nvCard{ min-height:0; padding:14px 11px 11px; gap:6px; border-radius:14px; }
  body.store .productCard.nvCard:hover{ transform:none; }
  body.store .nvHead{ flex-direction:column; align-items:flex-start; gap:5px; }
  body.store .nvHead .nvTag{ order:-1; font-size:10px; padding:3px 7px; }
  body.store .nvTitle{ font-size:15px; line-height:1.15; }
  body.store .nvPrice{ font-size:22px; letter-spacing:-.5px; flex-wrap:wrap; gap:3px; margin-top:2px; }
  body.store .nvPrice span{ font-size:11px; }
  body.store .nvCombo{ font-size:10.5px; padding:3px 7px; }
  body.store .nvOfferRow, body.store .nvTimer, body.store .nvRes{ font-size:11px; }
  body.store .nvDesc{ font-size:12px; line-height:1.35; -webkit-line-clamp:2; }
  body.store .nvFoot{ gap:8px; padding-top:2px; }
  body.store .nvStock{ font-size:11px; line-height:1.25; align-items:flex-start; }
  body.store .nvStock::before{ width:7px; height:7px; flex:0 0 7px; margin-top:3px; }
  body.store .nvBtn{ font-size:13px; padding:10px 6px; border-radius:10px; }
  .nvLong{ display:none; } .nvShort{ display:inline; }
}
@media (max-width:560px){
  body.store .nvStock{ display:block; }
  body.store .nvStock::before{ display:inline-block; margin:0 5px 1px 0; vertical-align:middle; }
}

/* v20261115c — Categorías en PC: se pueden mover (flechas, rueda y arrastrar) */
@media (min-width:900px){
  .catScroll{ justify-content:flex-start !important; }
  .catScroll > :first-child{ margin-left:auto; } .catScroll > :last-child{ margin-right:auto; }
}
.catScroll.dragging{ cursor:grabbing; scroll-snap-type:none; user-select:none; }
.catScroll.dragging .btn{ pointer-events:none; }
.catArrow{ display:none; position:absolute; top:50%; transform:translateY(calc(-50% - 2px)); z-index:2; width:32px; height:32px; border-radius:50%;
  border:1px solid rgba(255,255,255,.18); background:rgba(20,22,40,.95); color:#fff; font-size:20px; line-height:1; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,.5); }
.catArrow.left{ left:-4px; } .catArrow.right{ right:-4px; }
@media (hover:hover) and (pointer:fine){
  .catScrollWrap.catMoreLeft .catArrow.left, .catScrollWrap.catMoreRight .catArrow.right{ display:block; }
}

/* v20261115d — Portada E: banner de promo grande + tarjeta de combo */
.storeHero.promoHero{ text-align:left; padding:18px 0 6px; display:grid; grid-template-columns:2fr 1fr; gap:14px; max-width:1030px; margin:0 auto; }
.promoMain{ position:relative; overflow:hidden; min-height:180px; padding:24px 190px 24px 28px; border-radius:22px;
  border:1px solid rgba(56,189,248,.4);
  background:radial-gradient(420px 240px at 92% 30%, rgba(236,72,153,.5), transparent 70%), linear-gradient(120deg,#0e2f52,#2a1a5e);
  box-shadow:0 14px 40px rgba(0,0,0,.35); display:flex; flex-direction:column; justify-content:center; }
.pmTag{ font-size:12.5px; font-weight:900; letter-spacing:1.2px; color:#7dd3fc; }
.pmText{ margin-top:8px; font-size:24px; font-weight:900; line-height:1.2; letter-spacing:-.3px; color:#fff; white-space:pre-line; }
.pmTicket{ position:absolute; right:26px; top:50%; transform:translateY(-50%) rotate(-8deg); padding:14px 20px; border:3px dashed #fde047;
  border-radius:16px; font-weight:900; font-size:24px; color:#fde047; background:rgba(0,0,0,.25); white-space:nowrap; }
.promoCombo{ border-radius:22px; padding:22px; border:1px solid rgba(250,204,21,.45);
  background:linear-gradient(160deg, rgba(250,204,21,.16), rgba(250,204,21,.03)); display:flex; flex-direction:column; justify-content:center; gap:6px; }
.promoCombo > b{ font-size:38px; line-height:1; }
.promoCombo > div{ font-size:21px; font-weight:900; color:#fde68a; line-height:1.15; }
.promoCombo small{ display:block; color:#fef3c7; opacity:.75; font-size:13px; font-weight:600; margin-top:6px; }
.promoHero.noPromo{ grid-template-columns:1fr; }
.promoHero.noPromo .promoMain{ display:none; }
.promoHero.noPromo .promoCombo{ flex-direction:row; align-items:center; gap:14px; padding:14px 20px; }
.promoHero.noPromo .promoCombo > b{ font-size:28px; }
/* Teléfono: el banner arriba y el combo como franja debajo */
@media (max-width:760px){
  .storeHero.promoHero{ grid-template-columns:1fr; gap:10px; padding:10px 0 4px; }
  .promoMain{ min-height:0; padding:18px 18px 18px 18px; border-radius:18px; }
  .pmTag{ font-size:11px; padding-right:96px; }
  .pmText{ font-size:17px; margin-top:10px; }
  .pmTicket{ top:12px; right:12px; transform:rotate(-6deg); font-size:13px; padding:6px 10px; border-width:2px; border-radius:10px; }
  .promoCombo{ flex-direction:row; align-items:center; gap:12px; padding:12px 16px; border-radius:16px; }
  .promoCombo > b{ font-size:26px; }
  .promoCombo > div{ font-size:15px; }
  .promoCombo small{ font-size:12px; margin-top:2px; }
}
/* v20261115e — banner editable */
.promoHero.noCombo{ grid-template-columns:1fr; }
.promoHero.noCombo .promoCombo{ display:none; }
.promoHero.noTicket .promoMain{ padding-right:28px; }
.promoHero.noTicket .pmTag{ padding-right:0; }
.pmTicket.hidden, .pmTag.hidden{ display:none; }
.bnGroup{ display:grid; gap:6px; padding:12px; border-radius:14px; border:1px solid rgba(56,189,248,.3); background:rgba(56,189,248,.05); }
.bnGroup.combo{ border-color:rgba(250,204,21,.35); background:rgba(250,204,21,.05); }
.bnHead{ font-weight:900; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.bnOff{ display:inline-flex; align-items:center; gap:6px; float:right; font-weight:700; font-size:13px; }
.bnOff input{ width:auto; }
@media (max-width:760px){ .promoHero.noTicket .promoMain{ padding-right:18px; } }
.pmTicket{ max-width:45%; white-space:normal; text-align:center; line-height:1.1; }

/* v20261115f — imágenes del banner y emojis */
.pmImg{ position:absolute; left:var(--x,80%); top:var(--y,50%); width:var(--w,25%); height:auto; transform:translate(-50%,-50%); z-index:0; pointer-events:none; user-select:none; }
.pmImg.front{ z-index:3; }
.pmTag, .pmText{ position:relative; z-index:1; }
.pmTicket{ z-index:2; }
@media (max-width:760px){ .pmImg{ left:var(--xt,80%); top:var(--yt,55%); width:var(--wt,35%); } }
.bnModes{ display:flex; gap:8px; }
.bnModes button{ flex:1; padding:8px; border-radius:10px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.04); color:inherit; font-weight:800; font-size:13px; }
.bnModes button.on{ background:linear-gradient(90deg,#8b5cf6,#ec4899); border-color:transparent; }
.bnPrevWrap{ position:relative; width:100%; overflow:hidden; border-radius:16px; }
.bnPrevWrap iframe{ border:0; display:block; transform-origin:0 0; background:#0b0f1e; }
.bnImgList{ display:grid; gap:8px; }
.bnImgRow{ display:flex; gap:10px; align-items:center; padding:8px; border-radius:12px; border:1px solid rgba(255,255,255,.1); background:rgba(0,0,0,.2); }
.bnImgRow.sel{ border-color:#fde047; }
.bnImgRow img{ width:54px; height:54px; object-fit:contain; border-radius:8px; background:rgba(255,255,255,.06); cursor:pointer; }
.bnImgBtns{ display:flex; gap:6px; flex-wrap:wrap; }
.bnImgBtns button{ padding:7px 10px; border-radius:10px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.06); color:inherit; font-weight:700; font-size:13px; }
.bnUp{ justify-self:start; cursor:pointer; }
.emojiField{ position:relative; }
.emojiField > input, .emojiField > textarea{ padding-right:46px !important; width:100%; }
.emojiBtn{ position:absolute; right:8px; top:8px; width:32px; height:32px; border-radius:8px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.08); font-size:17px; cursor:pointer; line-height:1; }
.emojiPanel{ position:fixed; z-index:100001; height:300px; display:flex; flex-direction:column; background:#1a1730; border:1px solid rgba(255,255,255,.18); border-radius:14px; box-shadow:0 18px 50px rgba(0,0,0,.6); overflow:hidden; }
.emojiPanel.hidden{ display:none; }
.epTabs{ display:flex; gap:2px; padding:6px; border-bottom:1px solid rgba(255,255,255,.1); }
.epTabs button{ flex:1; padding:6px 0; border:0; border-radius:8px; background:transparent; font-size:18px; cursor:pointer; }
.epTabs button.on{ background:rgba(255,255,255,.12); }
.epTabs .epX{ flex:0 0 34px; color:#fff; font-size:15px; }
.epGrid{ flex:1; overflow-y:auto; padding:6px; display:grid; grid-template-columns:repeat(8, 1fr); gap:2px; align-content:start; }
.epGrid .epTitle{ grid-column:1 / -1; font-size:12px; font-weight:800; opacity:.7; padding:2px 4px 4px; }
.epGrid button{ border:0; background:transparent; font-size:22px; padding:4px 0; border-radius:8px; cursor:pointer; }
.epGrid button:hover{ background:rgba(255,255,255,.1); }

/* v20261115g — imágenes del banner: estirar y transparencia */
.pmImg{ height:var(--h, auto); object-fit:cover; }
@media (max-width:760px){ .pmImg{ height:var(--ht, auto); } }
.bnOp{ display:flex; align-items:center; gap:8px; flex-basis:100%; font-size:13px; font-weight:700; }
.bnOp input{ flex:1; accent-color:#ec4899; }
.bnOp b{ min-width:42px; text-align:right; }
.bnImgRow{ align-items:flex-start; }

/* v20261115i — estilos de letra, imágenes en la tarjeta del combo, revendedor desplegable */
.promoCombo{ position:relative; overflow:hidden; }
.promoCombo > b, .promoCombo > div:not(.pmBox){ position:relative; z-index:1; }
.pmTag{ --fs:12.5px; } .pmText{ --fs:24px; } .pmTicket{ --fs:24px; }
.promoCombo > div > span, .pcTitle{ --fs:21px; } .promoCombo small{ --fs:13px; }
@media (max-width:760px){ .pmTag{ --fs:11px; } .pmText{ --fs:17px; } .pmTicket{ --fs:13px; } .promoCombo > div > span, .pcTitle{ --fs:15px; } .promoCombo small{ --fs:12px; } }
.bnGroup.prev{ border-color:rgba(236,72,153,.35); background:rgba(236,72,153,.05); }
.bnSub{ margin-top:8px; font-weight:800; }
.txStyle{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:-2px 0 6px; }
.txStyle button{ min-width:34px; height:34px; padding:0 8px; border-radius:9px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.05); color:inherit; font-weight:800; font-size:13px; cursor:pointer; }
.txStyle button.on{ background:#ec4899; border-color:#ec4899; }
.txStyle select{ width:auto; height:34px; padding:0 8px; font-size:13px; border-radius:9px; }
.txStyle .txSize{ min-width:44px; text-align:center; font-size:13px; }
.txColor{ position:relative; width:38px; height:34px; border-radius:9px; overflow:hidden; border:1px solid rgba(255,255,255,.2); cursor:pointer; }
.txColor input{ position:absolute; inset:-6px; width:60px; height:50px; border:0; padding:0; cursor:pointer; }
.txColor span{ position:absolute; right:1px; bottom:-2px; font-size:12px; pointer-events:none; }
.rsDrop{ border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:12px 14px; background:rgba(255,255,255,.03); }
.rsDrop > summary{ list-style:none; display:flex; justify-content:space-between; align-items:center; gap:10px; cursor:pointer; }
.rsDrop > summary::-webkit-details-marker{ display:none; }
.rsDrop > summary small{ display:block; font-size:12px; opacity:.75; margin-top:2px; font-weight:600; }
.rsArrow{ font-size:20px; transition:transform .2s; }
.rsDrop[open] .rsArrow{ transform:rotate(180deg); }
.txStyle select{ height:auto; min-height:34px; padding:6px 28px 6px 8px; line-height:1.2; }

/* v20261115k — tarjeta del combo: solo título y texto, con color de fondo */
.promoCombo{ flex-direction:column !important; align-items:flex-start !important; justify-content:center; }
.promoCombo > div > span, .pcTitle{ display:block; }
@media (max-width:760px){ .promoCombo{ gap:4px; } }
.pcBg{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.txColor.big{ width:52px; height:40px; }
.pcBg input[type=color]:disabled{ opacity:.35; }

/* v20261118a: Accesos a Mi cuenta */
.accBox{border:1px solid rgba(255,255,255,.1);border-radius:12px;margin-bottom:8px;background:rgba(255,255,255,.03);overflow:hidden}
.accBox summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px}
.accBox summary::-webkit-details-marker{display:none}
.accBox summary > div{display:grid;gap:3px;min-width:0}
.accBox summary b{word-break:break-all}
.accBox[open] summary{border-bottom:1px solid rgba(255,255,255,.08)}
.accRows{max-height:420px;overflow:auto}
.accRow{display:grid;grid-template-columns:170px 1fr 170px;gap:8px;padding:8px 12px;font-size:13px;border-bottom:1px solid rgba(255,255,255,.05)}
.accRow:last-child{border-bottom:0}
@media (max-width:640px){.accRow{grid-template-columns:1fr;gap:2px}}

/* v20261118b: Accesos como lista simple */
#axsList .accRows{max-height:none}
#axsList .accRow{grid-template-columns:170px 1fr 190px}
@media (max-width:640px){#axsList .accRow{grid-template-columns:1fr}}

/* v20261118c: Códigos de clientes compactos con desplegable */
#cliList{ display:grid; gap:8px; }
.cliRow{ grid-template-columns:1fr auto !important; padding:10px 12px; }
.cliRow .cliHead{ display:flex !important; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; min-width:0; }
.cliRow .cliHead b{ flex:1; min-width:0; }
.cliRow .cliHead .cliCodeTxt{ font-size:16px; letter-spacing:2px; flex-shrink:0; }
.cliRow .cliMore{ padding:6px 12px !important; font-size:15px !important; }
.cliRow .cliBtns{ grid-column:1 / -1; display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); }
.cliRow .cliBtns.hidden{ display:none !important; }
.cliRow .cliBtns .btn{ padding:8px 4px; font-size:12px; white-space:normal; min-width:0; }
@media (max-width:380px){ .cliRow .cliBtns{ grid-template-columns:1fr; } }

/* v20261120c: bloqueados por código */
.blkBox{display:grid;gap:8px;padding:12px;margin-bottom:12px;border-radius:12px;border:1px solid rgba(239,68,68,.45);background:rgba(239,68,68,.07)}
.blkRow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.blkRow .btn{white-space:nowrap;padding:7px 12px;font-size:13px}

/* v20261127a: cupón en renovación */
.rnCoupon{ display:grid; gap:8px; }
.rnCpToggle{ background:none; border:1px dashed rgba(255,255,255,.25); color:inherit; border-radius:12px; padding:11px; font-weight:700; font-size:14px; cursor:pointer; }
.rnCpRow{ display:flex; gap:8px; }
.rnCpRow input{ flex:1; min-width:0; text-transform:uppercase; letter-spacing:1px; }
.rnCpRow .nvBtn{ width:auto; padding:10px 16px; margin:0; }
.rnCpRow.hidden, .rnCpToggle.hidden{ display:none; }
#rnCpMsg:empty{ display:none; }

/* v20261127b: descuento por renovar antes */
.rnEarly{ display:grid; gap:4px; padding:12px 14px; border-radius:14px; border:1px solid rgba(251,191,36,.45); background:rgba(251,191,36,.08); font-size:14px; }
.rnEarly span{ font-size:12px; opacity:.8; }

/* v20261128e: Reglas de uso */
.nvRuleSec{ padding:12px 14px; margin-bottom:8px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-size:14px; line-height:1.5; }
.nvRuleT{ display:flex; align-items:center; gap:10px; margin-bottom:6px; font-size:15px; }
.nvRuleT span{ flex:none; width:26px; height:26px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; background:linear-gradient(135deg,#a855f7,#ec4899); color:#fff; }
.nvRuleSec p{ margin:6px 0 2px; }
.nvRuleSec ul{ margin:0; padding-left:18px; }
.nvRuleSec ul.ok, .nvRuleSec ul.no{ list-style:none; padding-left:0; }
.nvRuleSec li{ margin:3px 0; }
.nvRuleNote{ font-size:13px; opacity:.85; }
.nvRuleEx{ margin-top:8px; padding:10px 12px; border-radius:12px; background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.35); font-size:13.5px; }

/* v20261129a: Mercado Pago en la página del pedido */
.mpBox{ display:grid; gap:8px; padding:14px; margin:12px 0; border-radius:16px; border:1px solid rgba(0,158,227,.55); background:linear-gradient(180deg, rgba(0,158,227,.12), rgba(0,158,227,.04)); }
.mpHead{ font-size:15px; }
.mpRows{ display:grid; gap:4px; padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.18); }
.mpTot{ border-top:1px solid rgba(255,255,255,.1); padding-top:6px; margin-top:2px; font-size:15px; }
.mpBtn{ background:linear-gradient(135deg,#009ee3,#00b1ea) !important; }
.mpErr{ padding:9px 11px; border-radius:10px; background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.45); font-size:13px; }
.mpWait{ padding:9px 11px; border-radius:10px; background:rgba(251,191,36,.1); border:1px solid rgba(251,191,36,.45); font-size:13px; }
/* v20261130a: medios de pago por horario */
.payModes{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.payModes > div{ display:grid; gap:6px; padding:12px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
@media (max-width:640px){ .payModes{ grid-template-columns:1fr; } }
.payModes .pmChk{ display:flex !important; flex-direction:row !important; align-items:center; gap:10px; font-weight:500; }
.payModes .pmChk input{ width:auto !important; margin:0; flex:none; }
/* v20261130b: rangos de Mercado Pago */
.mpTiersBox{ display:grid; gap:8px; padding:12px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); }
.mpTier{ display:flex; align-items:center; gap:5px; flex-wrap:nowrap; font-size:13px; }
.mpTier input{ width:86px !important; padding:8px 8px !important; }
.mpTier .tSh{ width:60px !important; }
.mpTier .tDel{ padding:6px 10px !important; }
.mpExTbl{ width:100%; border-collapse:collapse; margin-top:6px; font-size:12.5px; }
.mpExTbl th, .mpExTbl td{ text-align:left; padding:4px 3px; border-bottom:1px solid rgba(255,255,255,.07); }
.mpExTbl th{ opacity:.7; font-weight:600; }
