/* ====== Tokens ====== */
:root {
  --bg-sidebar: #14141a;
  --bg-sidebar-hover: #1f1f28;
  --accent: #f2c230;
  --accent-text: #14141a;
  --bg-content: #f7f5f0;
  --card-bg: #ffffff;
  --border: #e7e3d8;
  --text-primary: #14141a;
  --text-secondary: #6b6f76;
  --text-on-dark: #c9c9d1;
  --text-on-dark-dim: #84848f;
  --success: #15803d;
  --success-bg: #dcf5e3;
  --info: #1d4ed8;
  --info-bg: #dbe6fd;
  --warning: #b45309;
  --warning-bg: #fdecc8;
  --neutral: #52525b;
  --neutral-bg: #e9e9ec;
  --danger: #b91c1c;
  --danger-bg: #fbdede;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 2px rgba(20,20,26,0.04), 0 1px 14px rgba(20,20,26,0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-content);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
#app { min-height: 100vh; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { color: inherit; }

/* ====== Boot / loading ====== */
.boot-screen {
  height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-sidebar); color: var(--text-on-dark); gap: 14px;
}
.boot-logo {
  width: 52px; height: 52px; border-radius: 12px; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px;
}
.boot-text { font-size: 14px; color: var(--text-on-dark-dim); }

/* ====== Layout ====== */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 268px; flex-shrink: 0; background: var(--bg-sidebar); color: var(--text-on-dark);
  display: flex; flex-direction: column; padding: 18px 14px; position: sticky; top: 0; height: 100vh;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; }
.sidebar-brand .mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
.sidebar-brand .name { font-weight: 800; font-size: 17px; color: var(--accent); letter-spacing: -0.01em; }

.nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-on-dark); text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 500;
  border: none; background: transparent; width: 100%; text-align: left;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.nav-item:hover { background: var(--bg-sidebar-hover); }
.nav-item.active { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.nav-item.active svg { opacity: 1; }

.sidebar-footer { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; margin-top: 8px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px 4px; }
.sidebar-user .avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.sidebar-user .who { min-width: 0; }
.sidebar-user .who .name { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .who .role { font-size: 12px; color: var(--text-on-dark-dim); }
.logout-btn { margin-top: 4px; }
.logout-btn.nav-item { color: #e3a9a9; }

.main { flex: 1; min-width: 0; }
.page { padding: 36px 40px 60px; max-width: 1200px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.page-header p { margin: 0; color: var(--text-secondary); font-size: 14.5px; }

/* ====== Mobile topbar ====== */
.mobile-topbar { display: none; }
.mobile-menu-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 8px; }

.offline-banner {
  display: none; align-items: center; gap: 8px; background: var(--warning-bg); color: var(--warning);
  font-size: 13px; font-weight: 600; padding: 9px 16px; text-align: center; justify-content: center;
}
.offline-banner::before { content: '⚠'; }

@media (max-width: 880px) {
  .layout { flex-direction: column; }
  .sidebar { position: fixed; left: -280px; top: 0; height: 100vh; z-index: 50; transition: left .2s ease; width: 250px; }
  .sidebar.open { left: 0; box-shadow: 8px 0 30px rgba(0,0,0,0.3); }
  .mobile-topbar {
    display: flex; align-items: center; justify-content: space-between; background: var(--bg-sidebar);
    color: #fff; padding: 12px 16px; position: sticky; top: 0; z-index: 40;
  }
  .mobile-topbar .name { font-weight: 800; color: var(--accent); }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 45; }
  .sidebar-overlay.show { display: block; }
  .page { padding: 18px 14px 50px; }
  .page-header h1 { font-size: 22px; }

  /* Tablas: en pantallas chicas se convierten en tarjetas apiladas.
     Cada <td> usa su atributo data-label como título (sin tocar el HTML
     de cada vista, solo hace falta agregar data-label en los <td>). */
  .table-responsive table, .table-responsive thead, .table-responsive tbody,
  .table-responsive th, .table-responsive td, .table-responsive tr {
    display: block;
  }
  .table-responsive thead { display: none; }
  .table-responsive tbody tr {
    border-bottom: 1px solid var(--border); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
  }
  .table-responsive tbody tr:last-child { border-bottom: none; }
  .table-responsive tbody td {
    border-bottom: none; padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: right;
  }
  .table-responsive tbody td[data-label]:not([data-label=""])::before {
    content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--text-secondary); text-align: left; flex-shrink: 0;
  }
  .table-responsive tbody td:empty,
  .table-responsive tbody td[data-label=""] { justify-content: flex-end; }
  .table-responsive .carrier-select, .table-responsive select { max-width: 60%; }

  /* Targets táctiles más grandes en mobile/tablet */
  .btn { padding: 11px 16px; min-height: 42px; }
  .btn-sm { padding: 9px 13px; min-height: 38px; }
  .nav-item { padding: 13px 12px; }
  .field input, .field select, .field textarea { padding: 12px 13px; font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
}

@media (min-width: 881px) and (max-width: 1180px) {
  /* Tablet: una sola columna en formularios para que no queden campos
     apretados, pero las tablas siguen siendo tablas normales. */
  .form-grid { grid-template-columns: 1fr 1fr; }
  .page { padding: 28px 24px 50px; }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary { background: var(--card-bg); color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { background: #f1efe8; }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-sm { padding: 6px 11px; font-size: 13px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; justify-content: center; }

/* ====== Cards / tables ====== */
.card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.card + .card { margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left; padding: 14px 22px; color: var(--text-secondary); font-weight: 600; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
tbody td { padding: 16px 22px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fafaf7; }
.cell-strong { font-weight: 700; }
.cell-muted { color: var(--text-secondary); }
.empty-state { padding: 50px 24px; text-align: center; color: var(--text-secondary); }
.empty-state .icon { font-size: 30px; margin-bottom: 8px; }

/* ====== Badges (estado de pedido) ====== */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-pendiente { background: var(--neutral-bg); color: var(--neutral); }
.badge-preparado { background: var(--info-bg); color: var(--info); }
.badge-asignado { background: #fdf0d5; color: #a35d00; }
.badge-en_viaje { background: var(--warning-bg); color: var(--warning); }
.badge-entregado { background: var(--success-bg); color: var(--success); }
.badge-no_entregado { background: var(--warning-bg); color: var(--warning); }
.badge-cancelado { background: var(--danger-bg); color: var(--danger); }

/* ====== KPI cards ====== */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-card); }
.kpi-card .label { font-size: 13px; color: var(--text-secondary); font-weight: 600; margin-bottom: 8px; }
.kpi-card .value { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.kpi-card .value.accent { color: var(--warning); }

/* ====== Forms ====== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; }
.form-grid.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.field .hint, .hint { font-size: 12px; color: var(--text-secondary); display: block; }
.field input, .field select, .field textarea {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px;
  background: #fff; color: var(--text-primary);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.switch-row:last-child { border-bottom: none; }
.switch-row .title { font-weight: 700; font-size: 14.5px; }
.switch-row .desc { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.switch { position: relative; width: 44px; height: 25px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: #d9d6cb; border-radius: 999px; cursor: pointer; transition: .15s; }
.switch .track::after { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(19px); }

/* ====== Modal ====== */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,20,26,0.45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-header h3 { margin: 0; font-size: 17px; font-weight: 800; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-secondary); line-height: 1; }

/* ====== Login ====== */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-sidebar); padding: 20px; }
.login-card { background: #fff; border-radius: 18px; width: 100%; max-width: 380px; padding: 32px 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.login-brand .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.login-brand .name { font-weight: 800; font-size: 19px; }
.login-card h2 { font-size: 18px; margin: 0 0 4px; }
.login-card .sub { font-size: 13.5px; color: var(--text-secondary); margin: 0 0 22px; }
.login-error { background: var(--danger-bg); color: var(--danger); font-size: 13px; padding: 10px 12px; border-radius: 9px; margin-bottom: 14px; }
.login-toggle { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-secondary); }
.login-toggle button { background: none; border: none; color: var(--info); font-weight: 600; cursor: pointer; padding: 0; font-size: 13.5px; }

/* ====== Toast ====== */
#toast-root { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: var(--text-primary); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); max-width: 320px; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ====== Misc ====== */
.signature-pad { border: 1px solid var(--border); border-radius: 9px; background: #fdfdfb; touch-action: none; width: 100%; height: 160px; display: block; }
.muted-link { color: var(--text-secondary); font-size: 13px; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; }
.filters-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filters-row select, .filters-row input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 13.5px; background: #fff; }
.section-title { font-size: 15px; font-weight: 800; margin: 28px 0 12px; }
.preview-photo { max-width: 100%; border-radius: 9px; border: 1px solid var(--border); margin-top: 6px; }
.tag-pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: var(--neutral-bg); color: var(--neutral); font-size: 12px; font-weight: 700; }
.tag-pill.on { background: var(--success-bg); color: var(--success); }
.tag-pill.off { background: var(--danger-bg); color: var(--danger); }
.tag-pill.tag-ok { background: var(--success-bg); color: var(--success); }

/* ====== Toggle de vista (Panel: Kanban / Tabla) ====== */
.view-toggle { display: inline-flex; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: none; background: none;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer;
}
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button.active { background: var(--accent); color: var(--accent-text); }

/* ====== Kanban (Panel Operativo) ====== */
.kanban-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 22px; align-items: start; }
.kanban-col { background: #fafaf7; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.kanban-col-header {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-weight: 700;
  font-size: 13.5px; border-bottom: 1px solid var(--border); background: var(--card-bg);
}
.kanban-col-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow-y: auto; }
.kanban-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; box-shadow: var(--shadow-card); }
.kanban-empty { text-align: center; color: var(--text-secondary); font-size: 12.5px; padding: 18px 0; }

/* ====== Planificador de Rutas ====== */
.route-group-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.route-stops { display: flex; flex-direction: column; }
.route-stop {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.route-stop:last-child { border-bottom: none; }
.route-stop[draggable="true"] { cursor: grab; }
.route-stop.dragging { opacity: 0.4; }
.route-stop-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.route-stop-info { flex: 1; min-width: 0; }

/* ====== Chat Fleteros ====== */
.chat-layout { display: flex; gap: 16px; height: 70vh; min-height: 420px; }
.chat-sidebar {
  width: 260px; flex-shrink: 0; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow-y: auto; display: flex; flex-direction: column;
}
.chat-carrier-item {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: none; background: none; text-align: left;
  cursor: pointer; border-bottom: 1px solid var(--border); width: 100%;
}
.chat-carrier-item:hover { background: #fafaf7; }
.chat-carrier-item.active { background: var(--accent-bg, #fdf4d6); }
.chat-main { flex: 1; min-width: 0; }
.chat-thread {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); height: 100%;
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-thread-header { padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 700; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble {
  max-width: 75%; background: #f1efe8; border-radius: 12px; padding: 9px 13px; font-size: 13.5px; align-self: flex-start;
}
.chat-bubble.mine { background: var(--accent); color: var(--accent-text); align-self: flex-end; }
.chat-bubble-time { font-size: 10.5px; opacity: 0.65; margin-top: 4px; }
.chat-input-row { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-input-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; }

/* ====== Administración de Viajes: comparativa de costos ====== */
.cost-compare-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cost-compare-label { width: 190px; flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.cost-compare-bar-track { flex: 1; height: 22px; background: #f1efe8; border-radius: 6px; overflow: hidden; }
.cost-compare-bar { height: 100%; border-radius: 6px; transition: width 0.3s ease; min-width: 2px; }
.cost-compare-bar.fixed { background: var(--info, #4a90d9); }
.cost-compare-bar.km { background: var(--accent); }
.cost-compare-value { width: 110px; flex-shrink: 0; text-align: right; font-weight: 700; font-size: 13.5px; }
.cell-warning { color: var(--warning); font-weight: 600; }

.default-deposito-banner {
  background: #fdf4d6; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cost-compare-row { flex-wrap: wrap; }
  .cost-compare-label { width: 100%; }
  .cost-compare-value { width: auto; }
}

@media (max-width: 760px) {
  .chat-layout { flex-direction: column; height: auto; }
  .chat-sidebar { width: 100%; max-height: 180px; }
  .chat-main { height: 60vh; }
}

@media (max-width: 1100px) {
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .kanban-board { grid-template-columns: 1fr; }
  .kanban-col-body { max-height: 320px; }
}

/* ====== Tabs (Despacho: Escanear / Listos / En Viaje) ====== */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: none; background: none;
  font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tab-btn svg { width: 16px; height: 16px; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--text-primary); border-bottom-color: var(--accent); }
.tab-count {
  background: var(--neutral-bg); color: var(--neutral); font-size: 11.5px; font-weight: 800; padding: 1px 7px;
  border-radius: 999px; margin-left: 2px;
}
.tab-btn.active .tab-count { background: var(--accent); color: var(--accent-text); }

/* ====== Bultos / QR ====== */
.bulto-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px;
  background: #fafaf7; border: 1px solid var(--border); border-radius: 9px;
}
.bulto-row.scanned { background: var(--success-bg); border-color: var(--success); }
.bulto-info { display: flex; align-items: center; gap: 10px; }
.bulto-qr { width: 64px; height: 64px; flex-shrink: 0; background: #fff; border-radius: 6px; overflow: hidden; }
.bulto-qr img, .bulto-qr canvas { width: 100% !important; height: 100% !important; }

/* ====== Guía de encuadre del escáner QR ======
   Marca visualmente el 70% central de la cámara, que es la misma zona
   que el código recorta para decodificar — ayuda al picker a saber
   dónde centrar el código en vez de moverlo al azar por la pantalla. */
.qr-frame-guide {
  position: absolute; top: 15%; left: 15%; width: 70%; height: 70%;
  border: 3px solid rgba(255,255,255,0.85); border-radius: 14px;
  box-shadow: 0 0 0 2000px rgba(0,0,0,0.25);
  pointer-events: none;
}

@media (max-width: 600px) {
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tab-btn { flex-shrink: 0; padding: 10px 12px; font-size: 13px; }
  .bulto-info { width: 100%; }
}
