#parts-search h1 {
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
}

#parts-search .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

#parts-search .row.row-gutter-10 {
    flex-direction: column;
    align-items: start;
}

.text-muted {
    color: #6b7280;
}

.form-control-custom {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: .5rem;
    border: 1px solid #d1d5db;
    background: white;
}

.form-control-custom .btn {
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .5rem;
    border: 1px solid transparent;
    background: transparent;
}

.btn-sm {
    padding: .5rem 1rem;
    font-size: .875rem;
    line-height: 1.25;
}

.btn-default {
    border-color: #9ca3af;
}

.btn-default:hover {
    border-color: #9ca3af;
    background: #f3f4f6;
}

.btn-default.active {
    color: white;
    border-color: var(--primary-500);
    background: var(--primary-500);
}

.btn-primary {
    border: 1px solid var(--primary-500);
    color: white;
    background: var(--primary-500);
}

.btn-primary:hover {
    border-color: var(--primary-600);
    background: var(--primary-600);
}

.list-sorting {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: 1.25rem 0;
}

.list-sorting .badge {
    display: flex;
    align-items: center;
    gap: .25rem;
    height: 2rem;
    padding: 0 .75rem;
    font-size: .875rem;
    line-height: 1rem;
    color: white;
    border-radius: 100rem;
}

.list-sorting .badge .text-muted {
    color: rgba(255,255,255,.75);
}

.list-sorting .badge-light {
    background: #4b5563;
}

.list-sorting .badge-light:hover {
    background: #374151;
}

.list-sorting .badge-dark {
    background: var(--primary-500);
}

.list-sorting .badge-dark:hover {
    background: var(--primary-600);
}

.table-parts {
    margin: 1.25rem 0;
}

.table-parts > * {
    display: contents;
}

.parts-item-row.parts-header-row {
    display: none;
}

.parts-header {
    grid-column: 1 / -1;
    padding: 1.25rem .5rem 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
}

.parts-header .text-muted {
    font-weight: 400;
}

.parts-item-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem .5rem;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.parts-item-row .item-seller {
    display: none !important;
}

.parts-item-row .item-desc,
.parts-item-row .item-name {
    grid-column: 1 / -1;
}

.parts-item-row .item-desc {
    display: flex;
    flex-direction: row !important;
    justify-content: start !important;
    flex-wrap: wrap;
    gap: .25rem;
}

.parts-item-row .item-desc h4 {
    font-weight: 700;
}

.parts-item-row .item-name {
    padding: .5rem 0;
}

@media (min-width: 640px) {
    .table-parts {
        display: grid;
        grid-template-columns: auto auto auto auto auto max-content;
        align-items: center;
    }

    .parts-header {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .parts-item-row.parts-header-row {
        display: contents;
    }

    .parts-header-row .item-cell[role="columnheader"] {
        height: 100%;
        padding: .5rem;
        font-size: .875rem;
        line-height: 1.25;
        background: #f3f4f6;
    }

    .parts-header-row .item-cell[role="columnheader"]:first-child {
        grid-column: 1 / 3;
        padding-left: 1rem;
        border-top-left-radius: 100rem;
        border-bottom-left-radius: 100rem;
    }

    .parts-header-row .item-cell[role="columnheader"]:last-child {
        padding-right: 1rem;
        border-top-right-radius: 100rem;
        border-bottom-right-radius: 100rem;
    }

    .parts-item-row {
        display: contents;
        padding: 0;
        border: none;
        background: white;
    }

    .parts-item-row:hover {
        background: #f9fafb;
    }

    .parts-item-row .item-cell[role="cell"] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding: 1rem .5rem;
        border-bottom: 1px solid #e5e7eb;
        background: inherit;
    }

    .parts-item-row .item-cell[role="cell"]:first-child {
        padding-left: 1rem;
    }

    .parts-item-row .item-cell[role="cell"]:last-child {
        padding-right: 1rem;
    }

    .parts-item-row .item-desc {
        grid-column: 1;
    }

    .parts-item-row .item-name {
        grid-column: 2;
    }
}

.item-cell.item-action .btn {
    display: none;
}

.table-parts-toggle {
    grid-column: 1 / -1;
    padding: 1rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.item-delivery svg {
    display: none;
}

.table-parts-toggle a {
    color: var(--primary-500);
}

.table-parts-toggle a:hover {
    color: var(--primary-600);
}

.icon-size-24 {
    width: 24px;
    height: 24px;
}

.icon-size-20 {
    display: none;
    width: 20px;
    height: 20px;
}

.progress {
    display: block;
    height: .5rem !important;
    width: 17.5rem;
    background: #e5e7eb;
    border-radius: 100rem;
    overflow: hidden;
}

.progress-bar {
    display: block;
    height: .5rem !important;
    background: #4b5563;
    border-radius: 100rem;
    transition: all .1s linear;
}
