/****** Vendor ******/

#manufacturers {
}

#manufacturersView {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
}

#manufacturersViewFocus {
    width: fit-content;
}

#manufacturersList {

}

.manufacturersListItem {
    border: 2px solid var(--primary);
    margin-bottom: 10px;
    padding: 10px;
    display: grid;
    row-gap: 15px;
    border-radius: 5px;
}

.manufacturersListItemToggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.manufacturersListItemToggle::after {
    content: "▼";
}

.manufacturersListItemToggle.active::after {
    content: "▲";
}

.manufacturersListItemBody {
    display: none;
}

.manufacturersListItemToggle.active + .manufacturersListItemBody {
    display: block;
}

/* Global Table Settings */
.manufacturersListItemBody td [name] {
    padding: 3px;
    border: 1px solid lightgray;
    font-size: 14px;
}

.manufacturersListItemBody td [name="unitCost"],
.manufacturersListItemBody td [name="quantity"] {
    width: 70px;
}

.manufacturersListItemBody td [name="note"] {
    height: 60px;
    resize: vertical;
}

.manufacturersListItemBody td [readonly] {
    border: none;
}

/* Label */
.manufacturersListItemBodyLabel {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Stats */
.manufacturersListItemBodyStats {
    margin-bottom: 10px;
}

/* Divider */
.manufacturersListItemBodyDivider {
    height: 4px;
    background-color: var(--primary);
    width: 100%;
    margin: 30px 0;
}

/* Shopify Orders */

.manufacturersListItemBodyShopifyOrders {
}

.manufacturersListItemBodyShopifyOrdersGroup {
    background-color: aliceblue !important;
}

.manufacturersListItemBodyShopifyOrdersGroupAction {
    display: flex;
    gap: 5px;
}

.manufacturersListItemBodyShopifyOrdersGroupActionToggle {

}

.manufacturersListItemBodyShopifyOrdersGroupActionSelectAll {

}

.manufacturersListItemBodyShopifyOrdersRow {
    display: none;
}

.manufacturersListItemBodyShopifyOrdersRow.active {
    display: table-row;
}

.manufacturersListItemBodyShopifyOrdersRowDelete {
    font-size: 14px;
    background-color: darkred;
}

/* Shopify Variants */

.manufacturersListItemBodyShopifyVariants {
    margin-bottom: 20px;
}

.manufacturersListItemBodyShopifyVariantsRows {

}

/* Custom */

.manufacturersListItemBodyCustom {
    margin-bottom: 20px;
}

.manufacturersListItemBodyCustomRows {

}

.manufacturersListItemBodyNewCustom {

}

/* Summary */

.manufacturersListItemBodySummary {
}

.manufacturersListItemBodySummaryTotal {
    margin-bottom: 10px;
}

.manufacturersListItemBodySummaryLabel {

}

.manufacturersListItemBodySummaryInput {
    margin-bottom: 10px;

}

.manufacturersListItemBodySummarySubmit {

}