/* ===== CONFIGURACIÓN BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent-color: #a855f7;
    --accent-bg: #2d1b3d;
    --accent-glow: rgba(168, 85, 247, 0.3);
    --btn-hover-color: #c084fc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0f17;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

#main-wrapper {
    width: 100%;
    max-width: 1280px;
    padding: 30px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===== SCROLL PERSONALIZADO ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f17;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
    transition: background 0.1s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--btn-hover-color);
}

* {
    scrollbar-color: var(--accent-color) #0b0f17;
    scrollbar-width: thin;
}

/* ===== HEADER ===== */
.catalog-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}
.catalog-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 4px;
    transition: background 0.1s ease;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    position: relative;
    cursor: default;
}
.catalog-header h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
    transition: width 0.1s ease, left 0.1s ease, background 0.1s ease;
}
#main-wrapper.state-seccion .catalog-header h1::after {
    width: 60px;
}

#header-icon {
    display: block;
    margin: 0 auto 8px;
    max-width: 160px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== CONTENIDO FIJO ===== */
#movable-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== BUSCADOR ===== */
.search-container {
    width: 100%;
    max-width: 580px;
    margin-bottom: 30px;
}
.search-container input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #1e293b;
    background-color: #111827;
    color: #f1f5f9;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.search-container input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: #141c2b;
}
.search-container input::placeholder {
    color: #64748b;
}

/* ===== CATEGORÍAS ===== */
.categories-container {
    margin-bottom: 15px;
    width: 100%;
}
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-filter {
    background: #1e293b;
    color: #cbd5e1;
    border: 2px solid transparent;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}
.btn-filter:hover {
    transform: scale(1.05);
    background: #2d3b52;
    color: #ffffff;
    border-color: var(--btn-hover-color);
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-filter:active {
    transform: scale(0.97);
}
.btn-filter.active {
    border-color: var(--accent-color) !important;
    background: var(--accent-bg) !important;
    color: var(--accent-color) !important;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* ===== INFO SUPERIOR ===== */
#section-info {
    display: none;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 100;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
#section-info.visible {
    display: flex;
}

#fecha-container {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 28, 43, 0.85);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid #1e2a3a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#fecha-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}
#fecha-texto {
    font-size: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
}

#items-counter {
    display: none;
    background: rgba(20, 28, 43, 0.85);
    backdrop-filter: blur(6px);
    padding: 4px 14px;
    border-radius: 30px;
    border: 1px solid #1e2a3a;
    font-size: 0.75rem;
    color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#items-counter.visible {
    display: block;
}
#counter-text {
    font-weight: 500;
    color: #cbd5e1;
}

/* ===== CONTENIDO DINÁMICO ===== */
#dynamic-content {
    transition: opacity 0.12s ease;
    will-change: opacity;
    width: 100%;
}
.fade-out {
    opacity: 0;
    pointer-events: none;
}
.fade-in {
    opacity: 1;
    pointer-events: auto;
}

/* ===== GRID ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
    margin-top: 10px;
    will-change: transform;
    transform: translateZ(0);
}

/* ===== TARJETAS (con overflow hidden) ===== */
.furni-card {
    background: #141c2b;
    border-radius: 14px;
    padding: 20px 14px 14px;
    padding-top: 56px;
    text-align: center;
    border: 1px solid #1e2a3a;
    transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: scale(0.96) translateZ(0);
    will-change: transform, opacity;
    contain: layout style paint;
    overflow: hidden;
}
.furni-card.visible {
    opacity: 1;
    transform: scale(1) translateZ(0);
}
.furni-card:hover {
    transform: translateY(-4px) scale(1) translateZ(0);
    border-color: var(--accent-color);
}

/* ===== IMAGEN (tamaño original) ===== */
.furni-card img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== ETIQUETAS ===== */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    text-align: center;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.badge-salida {
    background: #b45309;
    border-color: #f59e0b;
    color: #fef3c7;
}
.badge-ltd {
    background: #0e7490;
    border-color: #22d3ee;
    color: #e0f2fe;
}

/* ===== NOMBRE ===== */
.furni-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #f1f5f9;
    word-break: break-word;
    max-width: 100%;
}

/* ===== PRECIOS ===== */
.prices-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.furni-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b101a;
    border-radius: 30px;
    padding: 3px 12px;
    height: 34px;
    gap: 6px;
    border: 1px solid #1e2a3a;
    min-width: 0;
}
.coin-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
    flex-shrink: 0;
    transform: translateY(6px);
}
.furni-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== CATEGORÍA EN TARJETA ===== */
.furni-category {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a5568;
    opacity: 0.7;
    margin-top: 8px;
    font-weight: 600;
}

/* ===== BOTÓN FLOTANTE ===== */
.info-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s ease, transform 0.2s ease, box-shadow 0.1s ease;
    z-index: 1000;
    will-change: transform;
}
.info-btn:hover {
    transform: scale(1.08);
}
.info-btn img {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
}

/* ===== MODAL ===== */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.info-modal.show {
    display: flex;
}
.info-modal-content {
    background: #1e293b;
    padding: 32px 24px 24px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid #334155;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.info-modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.info-modal-close:hover {
    color: #f1f5f9;
}
.info-modal-content img {
    display: block;
    margin: 0 auto 16px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.info-modal-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.pagination-container {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    #main-wrapper {
        padding: 20px 12px 40px;
    }
    .catalog-header h1 {
        font-size: 1.6rem;
    }
    .btn-filter {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    .categories-grid {
        gap: 8px;
    }
    .furni-card {
        padding: 14px 10px 10px;
        padding-top: 48px;
    }
    .furni-card img {
        margin-bottom: 10px;
    }
    .coin-icon {
        width: 14px;
        height: 14px;
        min-width: 14px;
        transform: translateY(2px);
    }
    .furni-price {
        font-size: 0.7rem;
    }
    .furni-price-container {
        height: 30px;
        padding: 2px 8px;
    }
    #section-info {
        top: 10px;
        right: 12px;
        gap: 4px;
    }
    #fecha-texto {
        font-size: 0.7rem;
    }
    #items-counter {
        font-size: 0.65rem;
        padding: 2px 10px;
    }
    .info-btn {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    .info-btn img {
        width: 36px;
        height: 36px;
    }
    #header-icon {
        max-width: 120px;
    }
    .search-container {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .furni-card {
        padding: 12px 8px 8px;
        padding-top: 42px;
    }
    .furni-card img {
        margin-bottom: 8px;
    }
    .furni-name {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    .furni-price-container {
        height: 26px;
        padding: 2px 6px;
        gap: 4px;
    }
    .furni-price {
        font-size: 0.65rem;
    }
    .coin-icon {
        width: 12px;
        height: 12px;
        min-width: 12px;
        transform: translateY(2px);
    }
    .furni-category {
        font-size: 0.5rem;
        margin-top: 4px;
    }
    .badge {
        font-size: 0.55rem;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
        right: 6px;
    }
}

/* ================================================================
   PANEL DE EDICIÓN (OVERLAY) - COLUMNAS REORDENADAS Y OPTIMIZADO
   ================================================================ */
#edit-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
#edit-overlay.active {
    display: flex;
}
#edit-panel {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 12px 14px 16px;
    max-width: 1200px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    border: 1px solid #2a3040;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    position: relative;
}
#edit-panel h2 {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    text-align: center;
    border-bottom: 1px solid #2a3040;
    padding-bottom: 6px;
}
#edit-panel .close-btn {
    position: sticky;
    top: 0;
    float: right;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    line-height: 1;
}
#edit-panel .close-btn:hover {
    color: #f1f5f9;
}

/* Barra de herramientas compacta */
.edit-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
    align-items: center;
}
.edit-toolbar input[type="text"] {
    flex: 1;
    min-width: 100px;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #2a3040;
    background: #0b0f17;
    color: #e2e8f0;
    font-size: 0.7rem;
    height: 24px;
}
.edit-toolbar select {
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #2a3040;
    background: #0b0f17;
    color: #e2e8f0;
    font-size: 0.7rem;
    height: 24px;
}
.edit-toolbar button {
    padding: 2px 10px;
    border-radius: 4px;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.65rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    height: 24px;
    white-space: nowrap;
}
.edit-toolbar button:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}
.edit-toolbar button.secondary {
    background: #2a3040;
}
.edit-toolbar button.danger {
    background: #b45309;
}
.edit-toolbar button.restore {
    background: #2563eb;
}

/* Tabla compacta con imágenes en tamaño real */
#edit-table-wrap {
    overflow-x: auto;
}
#edit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
}
#edit-table th {
    background: #2a3040;
    color: #cbd5e1;
    padding: 4px 6px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 5;
    font-weight: 600;
    white-space: nowrap;
}
#edit-table td {
    padding: 3px 4px;
    border-bottom: 1px solid #1e2638;
    vertical-align: middle;
}
#edit-table tr:hover td {
    background: #1e2638;
}
/* Inputs y selects optimizados */
#edit-table input, #edit-table select {
    width: 100%;
    padding: 2px 4px;
    border-radius: 3px;
    border: 1px solid #2a3040;
    background: #0b0f17;
    color: #e2e8f0;
    font-size: 0.75rem;
    height: 28px;
    transition: border-color 0.2s;
}
#edit-table input:focus, #edit-table select:focus {
    border-color: var(--accent-color);
    outline: none;
}
/* Ocultar flechas de input number */
#edit-table input[type="number"]::-webkit-inner-spin-button,
#edit-table input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#edit-table input[type="number"] {
    -moz-appearance: textfield;
}
/* Precio en negrita y más grande */
#edit-table .edit-precio {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f1f5f9;
    width: 60px;
    max-width: 60px;
}
/* Moneda más compacta */
#edit-table .edit-moneda {
    width: 70px;
    max-width: 70px;
}
/* Categoría más compacta */
#edit-table .edit-categoria {
    width: 90px;
    max-width: 90px;
}
/* Nombre más flexible */
#edit-table .edit-nombre {
    min-width: 120px;
}
/* Imagen URL */
#edit-table .edit-imagen {
    min-width: 140px;
}
/* Valor más ancho */
#edit-table .edit-etiqueta-valor {
    width: 90px;
    max-width: 90px;
}
/* Etiqueta */
#edit-table .edit-etiqueta {
    width: 80px;
    max-width: 80px;
}
/* Columna de imagen - sin fondo oscuro y centrada */
#edit-table .img-thumb {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 4px;
    background: transparent;
    margin: 0 auto;
}
#edit-table td:first-child {
    text-align: center;
    vertical-align: middle;
    padding: 2px 4px;
}
#edit-table th:first-child {
    text-align: center;
}

/* Botones de acciones */
#edit-table .acciones {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
#edit-table .acciones button {
    padding: 2px 8px;
    border-radius: 4px;
    border: none;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
    height: 24px;
}
#edit-table .acciones .edit-btn {
    background: #2563eb;
    color: #fff;
}
#edit-table .acciones .delete-btn {
    background: #dc2626;
    color: #fff;
}
#edit-table .acciones button:hover {
    filter: brightness(1.3);
}

/* Formulario de edición/creación compacto */
#edit-form {
    display: none;
    background: #111827;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
    border: 1px solid #2a3040;
}
#edit-form.active {
    display: block;
}
#edit-form h3 {
    font-size: 0.85rem;
    margin: 0 0 6px 0;
    color: #e2e8f0;
}
#edit-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
#edit-form .form-row label {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 80px;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 500;
}
#edit-form .form-row input, #edit-form .form-row select {
    padding: 1px 4px;
    border-radius: 3px;
    border: 1px solid #2a3040;
    background: #0b0f17;
    color: #e2e8f0;
    font-size: 0.7rem;
    margin-top: 1px;
    height: 22px;
}
#edit-form .form-row input:focus, #edit-form .form-row select:focus {
    border-color: var(--accent-color);
    outline: none;
}
#edit-form .form-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 6px;
}
#edit-form .form-actions button {
    padding: 2px 12px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    height: 24px;
}
#edit-form .form-actions .save-btn {
    background: var(--accent-color);
    color: #fff;
}
#edit-form .form-actions .cancel-btn {
    background: #2a3040;
    color: #cbd5e1;
}
#edit-form .form-actions button:hover {
    filter: brightness(1.2);
}

/* Badge modo edición */
#edit-mode-badge {
    display: none;
    position: fixed;
    top: 12px;
    left: 16px;
    background: #ef4444;
    color: #fff;
    padding: 2px 10px;
    border-radius: 16px;
    font-size: 0.6rem;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}
#edit-mode-badge.active {
    display: block;
}

/* Modal de contraseña (dentro de la página) */
#edit-password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}
#edit-password-modal.active {
    display: flex;
}
#edit-password-modal .modal-box {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border: 1px solid #2a3040;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}
#edit-password-modal h3 {
    color: #e2e8f0;
    margin-top: 0;
    text-align: center;
}
#edit-password-modal p {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 20px;
}
#edit-password-modal input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #2a3040;
    background: #0b0f17;
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 16px;
    box-sizing: border-box;
}
#edit-password-modal .buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
#edit-password-modal .buttons button {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
#edit-password-modal .buttons .cancel {
    background: #2a3040;
    color: #cbd5e1;
}
#edit-password-modal .buttons .submit {
    background: var(--accent-color, #a855f7);
    color: #fff;
}
#edit-password-modal .error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    display: none;
}

/* Responsive del panel */
@media (max-width: 768px) {
    #edit-panel {
        padding: 8px;
        max-height: 98vh;
    }
    #edit-table th, #edit-table td {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
    #edit-table input, #edit-table select {
        font-size: 0.6rem;
        height: 24px;
        padding: 1px 4px;
    }
    .edit-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .edit-toolbar input[type="text"] {
        min-width: unset;
    }
    #edit-form .form-row {
        flex-direction: column;
        gap: 3px;
    }
    #edit-form .form-row label {
        min-width: unset;
    }
    #edit-table .img-thumb {
        max-width: 80px;
        max-height: 80px;
    }
    #edit-table th:first-child,
    #edit-table td:first-child {
        max-width: 90px;
    }
    #edit-table .edit-precio {
        width: 50px;
        max-width: 50px;
    }
    #edit-table .edit-moneda {
        width: 60px;
        max-width: 60px;
    }
    #edit-table .edit-categoria {
        width: 70px;
        max-width: 70px;
    }
    #edit-table .edit-etiqueta-valor {
        width: 70px;
        max-width: 70px;
    }
}
