/* =========================================================
   Items page — Price range filter (page-scoped)
   Prefixed with .item-price-* to avoid global collisions.
   ========================================================= */

.item-price-section {
    padding: 4px 0 2px;
}

.item-price-filter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.item-price-inputs {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.item-price-field {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
}

.item-price-field label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.item-price-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e5ec;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.item-price-field input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.item-price-field input.item-price-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.item-price-sep {
    padding-bottom: 11px;
    color: #9ca3af;
    font-weight: 600;
}

.item-price-error {
    margin: 0;
    font-size: 12px;
    color: #ef4444;
    line-height: 1.4;
}

.item-price-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    background: transparent;
    color: var(--item-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.item-price-apply:hover {
    border-color: var(--item-primary-light);
    color: var(--item-primary);
    background: rgba(0, 159, 235, 0.05);
}

.item-price-apply i {
    color: var(--item-primary);
    font-size: 13px;
}
