 /*       body {
            font-family: Arial, sans-serif;
            margin: 15px;
            line-height: 1.5;
            max-width: 1000px;  Ограничиваем общую ширину 
            margin-left: auto;
            margin-right: auto;
        }*/
        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
            align-items: center;
        }
        .price-table {
            width: auto; /* Автоматическая ширина по содержимому */
            max-width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            font-size: 14px;
        }
        .price-table th, .price-table td {
            border: 1px solid #ddd;
            padding: 6px 8px; /* Уменьшенные отступы */
            text-align: left;
            white-space: nowrap; /* Запрет переноса текста */
        }
        .price-table th {
            background-color: #f5f5f5;
            cursor: pointer;
            position: relative;
            font-weight: normal;
        }
        .price-table th:hover {
            background-color: #eaeaea;
        }
        .sort-arrow {
            position: absolute;
            right: 3px;
            font-size: 12px;
        }
        .pagination {
            display: flex;
            justify-content: center;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        .pagination a, .pagination span {
            margin: 2px;
            padding: 4px 8px;
            border: 1px solid #ddd;
            text-decoration: none;
            font-size: 13px;
        }
        .export-btn {
            display: inline-block;
            padding: 6px 12px;
            background-color: #28a745;
            color: white;
            border-radius: 3px;
            text-decoration: none;
            font-size: 13px;
        }
        #searchInput {
            padding: 6px;
            width: 180px;
            font-size: 13px;
        }
        #categoryFilter {
            padding: 6px;
            min-width: 160px;
            font-size: 13px;
        }
        .loading {
            display: none;
            padding: 8px;
            background: #f8f9fa;
            text-align: center;
            font-size: 13px;
        }
        .current-category {
            font-size: 13px;
            margin-left: 8px;
            color: #555;
        }
        
        /* Адаптивность для мобильных */
        @media (max-width: 600px) {
            .price-table {
                font-size: 12px;
            }
            .price-table th, .price-table td {
                padding: 4px 6px;
            }
            .controls {
                flex-direction: column;
                align-items: flex-start;
            }
            #searchInput, #categoryFilter {
                width: 100%;
            }
        }