.wholesale-products {
	display: none;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
	overflow: hidden;
}

.main-products-wrapper.wholesale-active .main-products {
	display: none;
}

.main-products-wrapper.wholesale-active .wholesale-products {
	display: block;
}

.wholesale-view-btn span {
	display: inline-block;
	min-width: 42px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.wholesale-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	background: linear-gradient(135deg, #f7faf7, #eef4ee);
}

.wholesale-toolbar strong {
	display: block;
	margin-bottom: 2px;
	font-size: 16px;
}

.wholesale-toolbar span {
	color: #667085;
	font-size: 13px;
}

.wholesale-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}

.wholesale-selected {
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .06);
}

.wholesale-table-wrap {
	overflow-x: auto;
}

.wholesale-table {
	width: 100%;
	min-width: 850px;
	border-collapse: separate;
	border-spacing: 0;
}

.wholesale-table th,
.wholesale-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, .07);
	text-align: left;
	vertical-align: middle;
}

.wholesale-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #fbfbfb;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.wholesale-table tbody tr:hover {
	background: #fbfcf8;
}

.wholesale-table tbody tr.wholesale-row-selected {
	background: #fff7df;
	box-shadow: inset 4px 0 0 #f5a524;
}

.wholesale-table tbody tr.wholesale-row-selected:hover {
	background: #fff1c2;
}

.wholesale-table tbody tr.wholesale-row-selected .wholesale-qty {
	border-color: #f5a524;
	background: #fffdf6;
	box-shadow: 0 0 0 2px rgba(245, 165, 36, .16);
}

.wholesale-table tbody tr.wholesale-row-disabled {
	opacity: .55;
}

.wholesale-table tbody tr.wholesale-row-disabled:hover {
	background: transparent;
}

.wholesale-table tbody tr.wholesale-row-disabled .btn,
.wholesale-table tbody tr.wholesale-row-disabled .form-control {
	cursor: not-allowed;
}

.wholesale-product-name {
	font-weight: 600;
}

.wholesale-col-product {
	min-width: 270px;
}

.wholesale-col-qty {
	width: 110px;
}

.wholesale-col-action {
	width: 140px;
}

.wholesale-qty {
	max-width: 90px;
	text-align: center;
}

.wholesale-table .price-old {
	color: #98a2b3;
	text-decoration: line-through;
}

.wholesale-load-more-wrap {
	display: none;
	padding: 16px;
	text-align: center;
}

.main-products-wrapper.wholesale-active .wholesale-load-more-wrap {
	display: block;
}

.wholesale-load-more {
	min-width: 220px;
	border: 1px solid rgba(0, 0, 0, .14);
	background: #fff;
	font-weight: 700;
}

.wholesale-load-more[disabled] {
	display: none;
}

@media (max-width: 760px) {
	.wholesale-toolbar,
	.wholesale-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.wholesale-actions .btn {
		width: 100%;
	}
}
