/* Exhibidores: displays con tarjetas visuales (pantalla de Inventario + venta
   desde el Punto de Venta). Todo va con prefijo exh- para no chocar con nada. */

.exh-color-azul { --exh-color: #1d5fd1; --exh-color-2: #0b3d91; }
.exh-color-naranja { --exh-color: #e8731a; --exh-color-2: #b24d08; }
.exh-color-verde { --exh-color: #1f9d63; --exh-color-2: #11663f; }
.exh-color-rojo { --exh-color: #d6402f; --exh-color-2: #8f2216; }
.exh-color-morado { --exh-color: #7a4bd1; --exh-color-2: #4c2a8f; }
.exh-color-negro { --exh-color: #2d3548; --exh-color-2: #11151f; }

.exh-shell { display: grid; gap: 16px; color: var(--pos-text, #172033); }

.exh-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--pos-line, #dbe3ef); }
.exh-header h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.exh-header p { margin: 4px 0 0; max-width: 620px; color: var(--pos-muted, #687386); font-weight: 600; font-size: 13px; }
.exh-header-acciones { display: flex; gap: 8px; flex-wrap: wrap; }

.exh-btn { min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease; }
.exh-btn:hover:not(:disabled) { transform: translateY(-1px); }
.exh-btn:disabled { opacity: .45; cursor: not-allowed; }
.exh-btn-primario { background: var(--brand-color, #0d6efd); color: #fff; box-shadow: 0 6px 16px rgba(13, 110, 253, .25); }
.exh-btn-suave { background: var(--pos-surface, #eef2f8); color: var(--pos-text, #172033); }
.exh-btn-peligro { background: rgba(214, 64, 47, .1); color: #c0392b; }
.exh-btn-claro { background: rgba(255, 255, 255, .22); color: #fff; }
.exh-enlace { padding: 0; margin-bottom: 4px; border: 0; background: none; color: var(--brand-color, #0d6efd); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }

.exh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.exh-card { display: grid; align-content: start; overflow: hidden; padding: 0; text-align: left; font: inherit; color: inherit; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 18px; background: var(--pos-surface-strong, #fff); box-shadow: 0 10px 28px rgba(20, 32, 51, .07); transition: transform .16s ease, box-shadow .16s ease; }
.exh-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 32, 51, .14); }
.exh-card-boton { cursor: pointer; }
.exh-inactivo { opacity: .55; }
.exh-card-banda { display: grid; gap: 2px; padding: 16px 18px; color: #fff; background: radial-gradient(130% 160% at 0% 0%, var(--exh-color), var(--exh-color-2)); }
.exh-card .exh-card-banda strong { font-size: 17px; line-height: 1.2; color: #fff; }
.exh-card .exh-card-banda span { font-size: 12.5px; font-weight: 800; color: #fff; opacity: .95; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.exh-card-fotos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 6px; min-height: 84px; align-items: center; }
.exh-card-vacio { grid-column: 1 / -1; color: var(--pos-muted, #687386); font-size: 13px; font-weight: 600; text-align: center; }
.exh-card-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 16px; flex-wrap: wrap; }
.exh-card-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; justify-content: flex-end; }

.exh-mini { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--pos-line, #e6ebf3); }
.exh-mini img, .exh-espacio-foto img, .exh-tile-foto img, .exh-resultado-foto img { width: 100%; height: 100%; object-fit: contain; }
.exh-mini .producto-mini-icon, .exh-espacio-foto .producto-mini-icon, .exh-tile-foto .producto-mini-icon, .exh-resultado-foto .producto-mini-icon { font-size: 26px; }
.exh-sin-foto { font-size: 22px; font-weight: 800; color: var(--pos-muted, #8793a6); }

.exh-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.exh-chip-ok { background: rgba(31, 157, 99, .12); color: #11663f; }
.exh-chip-alerta { background: rgba(214, 64, 47, .12); color: #b02a1c; }

.exh-vacio { padding: 28px 12px; text-align: center; color: var(--pos-muted, #687386); font-weight: 600; }
.exh-vacio-grande { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; border: 2px dashed var(--pos-line, #dbe3ef); border-radius: 20px; }
.exh-vacio-grande h3 { margin: 0; font-size: 19px; }
.exh-vacio-grande p { margin: 0; max-width: 460px; color: var(--pos-muted, #687386); font-weight: 600; }
.exh-vacio-icono { font-size: 44px; }

.exh-panel { padding: 16px; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 16px; background: var(--pos-surface-strong, #fff); }
.exh-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.exh-contador { padding: 2px 9px; border-radius: 999px; background: var(--pos-surface, #eef2f8); font-size: 12px; }
.exh-datos { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; align-items: end; }
.exh-datos label, .exh-espacio-campos label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; color: var(--pos-muted, #687386); }
.exh-datos input, .exh-espacio-campos input, .exh-buscador input, .exh-modal-busqueda input { min-height: 40px; padding: 0 12px; font: inherit; font-weight: 600; color: var(--pos-text, #172033); border: 1px solid var(--pos-line, #dbe3ef); border-radius: 10px; background: var(--pos-surface-strong, #fff); }
.exh-colores { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--pos-muted, #687386); }
.exh-swatch { width: 28px; height: 28px; padding: 0; border: 3px solid transparent; border-radius: 50%; background: var(--exh-color); cursor: pointer; transition: transform .12s ease; }
.exh-swatch:hover { transform: scale(1.12); }
.exh-swatch.activo { border-color: var(--pos-text, #172033); }

.exh-buscador { position: relative; }
.exh-buscador input { width: 100%; box-sizing: border-box; }
.exh-resultados { display: grid; gap: 4px; margin-top: 8px; padding: 6px; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 14px; background: var(--pos-surface-strong, #fff); box-shadow: 0 14px 34px rgba(20, 32, 51, .12); }
.exh-resultados[hidden] { display: none; }
.exh-resultado { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; text-align: left; font: inherit; color: inherit; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.exh-resultado:hover { background: var(--pos-surface, #eef2f8); }
.exh-resultado-foto { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid var(--pos-line, #e6ebf3); }
.exh-resultado-texto { display: grid; flex: 1; min-width: 0; }
.exh-resultado-texto strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exh-resultado-texto small { color: var(--pos-muted, #687386); font-weight: 600; }
.exh-resultado-mas { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-color, #0d6efd); color: #fff; font-weight: 800; }
.exh-grupo-titulo { padding: 8px 8px 2px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--pos-muted, #687386); }
.exh-resultado-catalogo .exh-resultado-foto { background: color-mix(in srgb, var(--brand-color, #0d6efd) 10%, #fff); }
.exh-resultado-etiqueta { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--brand-color, #0d6efd); color: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.exh-resultado-vacio { padding: 12px; text-align: center; color: var(--pos-muted, #687386); font-weight: 600; font-size: 13px; }

.exh-espacios { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.exh-espacio { position: relative; display: grid; gap: 6px; align-content: start; padding: 12px; border: 1px solid var(--pos-line, #dbe3ef); border-left: 4px solid #1f9d63; border-radius: 14px; background: var(--pos-surface-strong, #fff); }
.exh-espacio.exh-bajo { border-left-color: #e8a317; }
.exh-espacio.exh-agotado { border-left-color: #d6402f; }
.exh-espacio-quitar { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--pos-surface, #eef2f8); color: #687386; font-size: 16px; line-height: 1; cursor: pointer; }
.exh-espacio-quitar:hover { background: rgba(214, 64, 47, .14); color: #c0392b; }
.exh-espacio-foto { display: flex; align-items: center; justify-content: center; height: 92px; overflow: hidden; border-radius: 10px; background: #fff; }
.exh-espacio-nombre { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exh-espacio-meta { color: var(--pos-muted, #687386); font-size: 12px; font-weight: 600; }
.exh-espacio-existencia { font-size: 12px; font-weight: 800; }
.exh-ok .exh-espacio-existencia { color: #11663f; }
.exh-bajo .exh-espacio-existencia { color: #a16207; }
.exh-agotado .exh-espacio-existencia { color: #b02a1c; }
.exh-espacio-campos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.exh-espacio-campos input { min-height: 34px; padding: 0 8px; font-size: 12.5px; width: 100%; box-sizing: border-box; }

/* Venta visual desde el Punto de Venta */
.exh-modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.exh-modal-card { display: flex; flex-direction: column; width: min(1040px, 100%); max-height: calc(100vh - 36px); overflow: hidden; border-radius: 22px; background: var(--pos-surface-strong, #fff); color: var(--pos-text, #172033); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: exhEntrar .2s ease; }
@keyframes exhEntrar { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.exh-modal-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.exh-modal-cabecera span { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.exh-modal-cabecera h3 { margin: 2px 0 0; font-size: 21px; }
.exh-modal-cabecera-color { color: #fff; background: radial-gradient(130% 200% at 0% 0%, var(--exh-color), var(--exh-color-2)); }
.exh-modal-acciones { display: flex; gap: 8px; }
.exh-modal-busqueda { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--pos-line, #e6ebf3); }
.exh-modal-busqueda input { flex: 1; min-width: 220px; }
.exh-modal-ayuda { font-size: 12.5px; font-weight: 700; color: var(--pos-muted, #687386); }
.exh-modal-card > .exh-grid { padding: 4px 20px 20px; }
.exh-grid-selector { overflow-y: auto; }

.exh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 16px 20px 20px; overflow-y: auto; }
.exh-tile { position: relative; display: grid; gap: 4px; align-content: start; padding: 10px; text-align: left; font: inherit; color: inherit; border: 2px solid transparent; border-radius: 16px; background: var(--pos-surface, #f3f6fb); cursor: pointer; transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease; }
.exh-tile:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--exh-color, #1d5fd1); box-shadow: 0 12px 26px rgba(20, 32, 51, .16); }
.exh-tile:active:not(:disabled) { transform: scale(.97); }
.exh-tile-foto { display: flex; align-items: center; justify-content: center; height: 104px; overflow: hidden; border-radius: 12px; background: #fff; }
.exh-tile-lugar { justify-self: start; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--exh-color, #1d5fd1) 14%, transparent); color: var(--exh-color-2, #0b3d91); font-size: 11px; font-weight: 800; }
.exh-tile-nombre { font-size: 12.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 31px; }
.exh-tile-precio { font-size: 17px; font-weight: 900; color: var(--exh-color-2, #0b3d91); }
.exh-tile-stock { font-size: 11.5px; font-weight: 800; }
.exh-tile-stock.ok { color: #11663f; }
.exh-tile-stock.poco { color: #a16207; }
.exh-tile-stock.sin { color: #b02a1c; }
.exh-tile-agotado { opacity: .6; }
.exh-tile-cuenta { position: absolute; top: -6px; right: -6px; z-index: 1; min-width: 26px; height: 26px; padding: 0 7px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--exh-color, #1d5fd1); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); animation: exhPop .25s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes exhPop { from { transform: scale(.4); } to { transform: scale(1); } }

@media (max-width: 760px) {
    .exh-datos { grid-template-columns: 1fr; }
    .exh-modal { padding: 0; align-items: flex-end; }
    .exh-modal-card { max-height: 94vh; border-radius: 22px 22px 0 0; }
    .exh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .exh-card, .exh-tile, .exh-btn, .exh-modal-card, .exh-tile-cuenta { transition: none; animation: none; }
}

/* Recibir mercancia + Surtir */
.exh-stepper { display: grid; grid-template-columns: 34px 1fr 34px; gap: 6px; align-items: center; }
.exh-stepper button { height: 34px; border: 0; border-radius: 10px; background: var(--pos-surface-strong, #fff); color: var(--pos-text, #172033); font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: inset 0 0 0 1px var(--pos-line, #dbe3ef); }
.exh-stepper button:hover { background: var(--exh-color, #1d5fd1); color: #fff; box-shadow: none; }
.exh-stepper input { width: 100%; min-width: 0; height: 34px; box-sizing: border-box; text-align: center; font: inherit; font-weight: 800; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 10px; background: var(--pos-surface-strong, #fff); color: inherit; }
.exh-recibir-costo { display: grid; gap: 3px; font-size: 10.5px; font-weight: 800; color: var(--pos-muted, #687386); }
.exh-recibir-costo input { height: 30px; padding: 0 8px; box-sizing: border-box; font: inherit; font-size: 12.5px; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 8px; background: var(--pos-surface-strong, #fff); color: inherit; }
.exh-recibir-tile { cursor: default; }
.exh-recibir-tile:hover { transform: none; box-shadow: none; border-color: transparent; }
.exh-recibir-activa { border-color: var(--exh-color, #1d5fd1); background: color-mix(in srgb, var(--exh-color, #1d5fd1) 8%, var(--pos-surface, #f3f6fb)); }

.exh-modal-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--pos-line, #e6ebf3); font-weight: 700; }

.exh-surtir-lista { display: grid; gap: 6px; padding: 14px 20px; overflow-y: auto; }
.exh-surtir-fila { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--pos-surface, #f3f6fb); }
.exh-surtir-foto { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; overflow: hidden; border-radius: 10px; background: #fff; }
.exh-surtir-foto img { width: 100%; height: 100%; object-fit: contain; }
.exh-surtir-texto { display: grid; flex: 1; min-width: 0; }
.exh-surtir-texto strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exh-surtir-texto small { color: var(--pos-muted, #687386); font-weight: 600; }
.exh-surtir-fila input { width: 76px; height: 36px; box-sizing: border-box; text-align: center; font: inherit; font-weight: 800; border: 1px solid var(--pos-line, #dbe3ef); border-radius: 10px; background: var(--pos-surface-strong, #fff); color: inherit; }

/* Ajuste de ancho: el campo numerico tiene ancho propio y desbordaba la tarjeta */
.exh-tile { min-width: 0; }
.exh-tiles:has(.exh-recibir-tile) { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.exh-stepper { grid-template-columns: 34px minmax(0, 1fr) 34px; }
.exh-recibir-costo input { width: 100%; min-width: 0; }

/* Mismo caso: el titulo y la etiqueta del encabezado de color de los modales
   heredaban el color oscuro global en vez del blanco. */
/* theme-runtime.css fuerza h1-h4 en oscuro con !important: aqui tambien hace falta. */
.exh-modal-cabecera-color h3,
.exh-modal-cabecera-color span { color: #fff !important; }
.exh-modal-cabecera-color span { opacity: .8; }

/* Abarrotes: exhibidores sugeridos para empezar */
.exh-sugeridos-titulo { margin: 14px 0 6px; font-weight: 700; color: #475569; }
.exh-sugeridos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }

/* Teclado en el exhibidor del Punto de Venta: tarjeta activa y cantidad pendiente */
.exh-tile-activa:not(:disabled) { transform: translateY(-3px); border-color: var(--exh-color, #1d5fd1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--exh-color, #1d5fd1) 30%, transparent), 0 12px 26px rgba(20, 32, 51, .16); }
.exh-tile-pend { position: absolute; top: -8px; left: -6px; z-index: 2; min-width: 30px; height: 28px; padding: 0 9px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #0f172a; color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.exh-modal-ayuda b { display: inline-block; padding: 0 5px; border-radius: 5px; background: rgba(15, 23, 42, .09); font-weight: 800; }

/* Plantillas, foto del exhibidor y agregar varios a la vez */
.exh-plantillas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.exh-plantillas > span { font-size: 13px; font-weight: 800; color: #64748b; }
.exh-card-banda { position: relative; }
.exh-card-foto { position: absolute; top: 12px; right: 12px; width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .85); background: #fff; }
.exh-foto-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.exh-foto-editor > span { font-size: 13px; font-weight: 800; color: #475569; }
.exh-foto-vista { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; }
.exh-foto-vista[hidden], #exhFotoQuitar[hidden] { display: none; }
.exh-foto-boton { cursor: pointer; }
.exh-grupo-titulo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.exh-agregar-todos { padding: 5px 12px; border: 0; border-radius: 999px; background: var(--exh-color, #1d5fd1) !important; color: #fff !important; font-size: 12px; font-weight: 800; cursor: pointer; }

.exh-tile:focus, .exh-tile:focus-visible { outline: none; }

.exh-header-botones { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.exh-truper-card { width: min(780px, 100%); }
.exh-truper-cuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 22px 14px; display: grid; gap: 14px; align-content: start; }
.exh-truper-paso { padding: 16px 18px; border-radius: 16px; background: var(--pos-surface, #f1f5f9); }
.exh-truper-paso h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; }
.exh-truper-paso h4 span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-color, #0d6efd); color: #fff; font-size: 13px; }
.exh-truper-busqueda { display: flex; gap: 10px; }
.exh-truper-busqueda input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.exh-truper-busqueda .exh-btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.exh-truper-ayuda { margin: 10px 0 0; color: #64748b; font-size: 13px; line-height: 1.4; }
.exh-truper-mensaje { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(220, 38, 38, .1); color: #b91c1c; font-weight: 700; font-size: 14px; }
.exh-truper-titulo-ficha { margin: -4px 0 12px; font-weight: 700; color: #334155; }
.exh-truper-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.exh-truper-stats > div { padding: 10px 12px; border-radius: 12px; background: #fff; border-left: 5px solid #94a3b8; display: grid; }
.exh-truper-stats strong { font-size: 24px; line-height: 1.1; color: #0f172a; }
.exh-truper-stats span { font-size: 12px; color: #64748b; font-weight: 700; }
.exh-truper-stats .ok { border-left-color: #16a34a; }
.exh-truper-stats .nuevo { border-left-color: #1d5fd1; }
.exh-truper-stats .aviso { border-left-color: #f59e0b; }
.exh-truper-lista { max-height: 300px; overflow-y: auto; border-radius: 12px; background: #fff; }
.exh-truper-fila { display: grid; grid-template-columns: 58px 1fr 150px 108px; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #eef2f7; font-size: 13.5px; }
.exh-truper-fila:last-child { border-bottom: 0; }
.exh-truper-encabezado { position: sticky; top: 0; z-index: 1; background: #f8fafc; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.exh-truper-piezas { text-align: center; font-size: 15px; color: #0f172a; }
.exh-truper-nombre { color: #0f172a; font-weight: 700; line-height: 1.25; }
.exh-truper-nombre small { display: block; margin-top: 2px; color: #94a3b8; font-weight: 600; font-size: 11.5px; }
.exh-truper-chip { justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.exh-truper-chip-en_inventario { background: rgba(22, 163, 74, .14); color: #15803d; }
.exh-truper-chip-se_crea { background: rgba(29, 95, 209, .13); color: #1d5fd1; }
.exh-truper-chip-no_esta { background: rgba(245, 158, 11, .18); color: #b45309; }
.exh-truper-foto { font-size: 12.5px; color: #475569; font-weight: 700; }
.exh-truper-foto-falta { color: #b45309; }
.exh-truper-no_esta { opacity: .7; }
.exh-truper-destino { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exh-truper-destino label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: #334155; }
.exh-truper-destino select, .exh-truper-destino input { min-height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; font-size: 14.5px; font-weight: 600; }
.exh-truper-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid #e2e8f0; background: var(--pos-surface-strong, #fff); font-size: 14px; font-weight: 700; color: #475569; }
.exh-truper-pie .exh-btn { min-height: 46px; padding: 0 26px; font-size: 15px; }
@media (max-width: 640px) {
    .exh-truper-destino { grid-template-columns: 1fr; }
    .exh-truper-fila { grid-template-columns: 44px 1fr; }
    .exh-truper-fila > :nth-child(n+3) { grid-column: 2; }
}

/* Elegir un exhibidor en el punto de venta: cuadritos con el logo de la marca arriba y su color abajo */
.exh-grid-cuadros { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.exh-card.exh-pick { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; aspect-ratio: 1 / 1; min-width: 0; height: auto; }
.exh-grid-cuadros { grid-auto-rows: max-content; align-content: start; }
.exh-pick-logo { position: relative; display: block; min-height: 0; overflow: hidden; background: #fff; }
.exh-pick-logo img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 24px); object-fit: contain; }
.exh-pick-logo i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.exh-pick-logo i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-style: normal; font-size: 30px; font-weight: 900; color: #fff; background: radial-gradient(130% 160% at 0% 0%, var(--exh-color), var(--exh-color-2)); }
.exh-pick-alerta { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; color: #8a1c10; background: #fde4e0; }
.exh-pick-pie { display: grid; gap: 1px; padding: 10px 14px 12px; color: #fff; background: radial-gradient(130% 160% at 0% 0%, var(--exh-color), var(--exh-color-2)); }
.exh-card .exh-pick-pie strong { font-size: 15.5px; line-height: 1.2; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exh-card .exh-pick-pie small { font-size: 12px; font-weight: 700; color: #fff; opacity: .92; }
body.oscuro .exh-pick-logo { background: #fff; }
