﻿#main-content {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu-btn {
    display: none;
    background: #12161f;
    border: 1px solid #1e2638;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.mobile-menu-btn svg { width: 20px; height: 20px; fill: currentColor; }

.multiplier-options {
    display: flex;
    align-items: center;
    background-color: #12161f;
    border: 1px solid #1e2638;
    padding: 3px;
    gap: 0;
    flex-wrap: nowrap;
}
.global-qty-btn {
    flex: 1;
    background: transparent;
    color: #64748b;
    border: none;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.global-qty-btn:hover { color: #ffffff; }
.global-qty-btn.active {
    background: #1e2638;
    color: #f59e0b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.custom-qty-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 30px;
    border-left: 1px solid #1e2638;
}
.custom-qty-input {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 4px 20px 4px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    width: 75px;
    height: 100%;
    outline: none;
    transition: background-color 0.2s;
    display: block;
}
.custom-qty-input:focus, .custom-qty-wrapper.active { background-color: #1e2638; }
.custom-qty-wrapper.active .custom-qty-input { color: #f59e0b; }
.custom-qty-input::placeholder { color: #64748b; font-weight: 500; }
.custom-qty-input::-webkit-inner-spin-button,
.custom-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.custom-qty-input[type=number] { -moz-appearance: textfield; }
.custom-qty-unit {
    position: absolute;
    right: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    pointer-events: none;
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    flex-shrink: 0;
}
.search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.search-box input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background-color: #12161f;
    border: 1px solid #1e2638;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}
.search-box input:focus { border-color: #d97706; }
.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    fill: #64748b;
    width: 16px;
    height: 16px;
}

.filter-group {
    display: flex;
    background-color: #12161f;
    border: 1px solid #1e2638;
    padding: 2px;
    overflow-x: auto;
    max-width: 100%;
}
.filter-btn {
    background: none;
    border: none;
    color: #64748b;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-btn:hover { color: #ffffff; }
.filter-btn.active { background-color: #1e2638; color: #f59e0b; }

.sort-select {
    background-color: #12161f;
    border: 1px solid #1e2638;
    color: #e2e8f0;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    border-radius: 4px;
    min-width: 180px;
}
.sort-select:hover { border-color: #4b5563; }
.sort-select:focus { border-color: #d97706; }
.sort-select option { background: #12161f; color: #e2e8f0; }