body{background:#f6f8fb;color:#1f2937}.hero{background:linear-gradient(135deg,#0d6efd,#6610f2);color:#fff;border-radius:24px;padding:2.2rem}.card-product{border:0;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.08);height:100%}.card-product img{width:100%;height:220px;object-fit:cover;background:#eef2f7}.card-product .card-body{padding:1.1rem}.badge-soft{background:#eef4ff;color:#0d6efd}.price-box{display:flex;flex-wrap:wrap;gap:.4rem}.section-title{font-weight:800}.whatsapp-float{position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:1.6rem;background:#25d366;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:1050}.footer{color:#475569}.cart-pill{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#0d6efd;color:#fff;font-size:.75rem;font-weight:700}.admin-nav{background:linear-gradient(135deg,#0f172a,#1d4ed8)}.admin-body .card,.admin-body .table-wrap,.soft-card{border:0;border-radius:22px;box-shadow:0 12px 30px rgba(15,23,42,.08)}.soft-card{background:#fff}.metric-card{padding:1.1rem 1.2rem;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.08)}.metric-label{font-size:.85rem;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.metric-value{font-size:1.8rem;font-weight:800;line-height:1.1}.metric-icon{width:46px;height:46px;border-radius:0px;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.table thead th{font-size:.86rem;text-transform:uppercase;color:#64748b;border-bottom-width:1px}.table>:not(caption)>*>*{padding:.85rem .75rem}.order-status,.pay-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .75rem;border-radius:999px;font-size:.78rem;font-weight:700}.status-nuevo{background:#e0f2fe;color:#0369a1}.status-revision{background:#ede9fe;color:#6d28d9}.status-confirmado{background:#dcfce7;color:#166534}.status-preparando{background:#fef3c7;color:#92400e}.status-enviado{background:#dbeafe;color:#1d4ed8}.status-entregado{background:#dcfce7;color:#15803d}.status-anulado{background:#fee2e2;color:#b91c1c}.status-default{background:#e5e7eb;color:#374151}.payment-pendiente{background:#fee2e2;color:#b91c1c}.payment-parcial{background:#fef3c7;color:#92400e}.payment-pagado{background:#dcfce7;color:#166534}.payment-default{background:#e5e7eb;color:#374151}.admin-form-card{background:#fff;border-radius:0px;padding:1.35rem;box-shadow:0 12px 30px rgba(15,23,42,.08)}.thumb-mini{width:56px;height:56px;border-radius:12px;object-fit:cover;background:#eef2f7}.empty-box{padding:2.5rem;border:2px dashed #cbd5e1;border-radius:0px;text-align:center;color:#64748b;background:#fff}.sticky-panel{position:sticky;top:92px}textarea.form-control{min-height:120px}

/* BOTONES ADMIN */
.btn-admin{
  background:#ffffff;
  color:#212529;
  border:1px solid #dee2e6;
  font-size:.85rem;
  border-radius:10px;
  padding:.35rem .6rem;
}

.btn-admin:hover{
  background:#f1f3f5;
  color:#000;
}

.btn-admin-outline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.5);
  font-size:.85rem;
  border-radius:10px;
  padding:.35rem .6rem;
}

.btn-admin-outline:hover{
  background:rgba(255,255,255,.1);
}

/* NAVBAR COLOR */
.admin-nav{
  background:linear-gradient(135deg,#0d6efd,#0a58ca);
}

/* MOBILE MEJORAS */
@media (max-width: 991px){

  .btn-admin,
  .btn-admin-outline{
    width:100%;
    text-align:left;
  }

  .btn-admin{
    background:#fff;
    color:#000;
  }

}
.app-install-banner{
  background:linear-gradient(135deg,#073bb0,#7ab428);
  border-radius:18px;
  padding:18px;
  margin:20px 0;
  color:#fff;
}

.app-install-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.app-install-text h3{
  margin:0 0 6px;
  font-size:1.3rem;
}

.app-install-text p{
  margin:0 0 12px;
  font-size:.9rem;
  opacity:.95;
}

.btn-install-app{
  background:#fff;
  color:#111;
  border:none;
  padding:12px 18px;
  border-radius:30px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.btn-install-app:hover{
  transform:scale(1.05);
}

.app-install-image img{
  width:90px;
  height:auto;
}

@media(max-width:768px){
  .app-install-content{
    flex-direction:column;
    text-align:center;
  }

  .app-install-image img{
    width:70px;
  }
}
.install-btn{
  border:none;
  background:#073bb0;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
  line-height:1;
  display:inline-flex;
  align-items:center;
  gap:6px;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}

.install-btn:hover{
  opacity:.92;
}

 .productos-scroll{
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scroll bonito */
.productos-scroll::-webkit-scrollbar{
    width: 8px;
}

.productos-scroll::-webkit-scrollbar-track{
    background:#f1f1f1;
    border-radius:10px;
}

.productos-scroll::-webkit-scrollbar-thumb{
    background:#c1c1c1;
    border-radius:10px;
}

.productos-scroll::-webkit-scrollbar-thumb:hover{
    background:#999;
}
.productos-scroll table thead th{
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.table-scroll-products{
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: auto;
}

.table-scroll-products thead th{
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}