body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f7f7f7;
}

h1 {
    color: #2c3e50;
    text-align: center;
    font-weight: 300;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 16px;
    text-align: left;
}

th {
    background-color: #f1f1f1;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
}

th:hover {
    background-color: #e0e0e0;
}

td {
    border-top: 1px solid #f1f1f1;
    font-size: 0.95em;
}

tr:hover {
    background-color: #f9f9f9;
}

.buy-now {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-size: 0.9em;
    text-align: center;
    white-space: nowrap;
}

.buy-now:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.sort-icon::after {
    content: '▲';
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
}

.sort-icon.desc::after {
    content: '▼';
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    padding: 8px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-search {
    position: sticky;
    top: 0;
    background: white;
    padding: 8px;
    border-bottom: 1px solid #eee;
    z-index: 1;
}

.dropdown-search input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9em;
}

.dropdown-select-all {
    padding: 8px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.dropdown-select-all:hover {
    background: #f1f1f1;
}

.dropdown-select-all label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-item.hidden {
    display: none;
}

.dropdown-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

.dropdown-items {
    max-height: 200px;
    overflow-y: auto;
}
.range-filter {
    padding: 16px;
    background: white;
}

.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.range-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-input {
    width: 80px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.range-input:focus {
    outline: none;
    border-color: #3498db;
}

.range-input-group label {
    font-size: 0.9em;
    color: #666;
}