.wcser-heavy-wrap {
	max-width: 960px;
}

.wcser-heavy-panel {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 20px 0;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.wcser-heavy-panel h2 {
	margin: 0 0 16px;
	font-size: 1.15em;
}

.wcser-heavy-toolbar {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.wcser-combobox {
	position: relative;
	flex: 1;
	min-width: 280px;
	max-width: 480px;
}

.wcser-combobox-search {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	box-sizing: border-box;
	cursor: pointer;
}

.wcser-combobox-list {
	position: absolute;
	z-index: 100;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 2px;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wcser-combobox-item {
	display: block;
	width: 100%;
	text-align: right;
	padding: 8px 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.4;
}

.wcser-combobox-item:hover,
.wcser-combobox-item:focus {
	background: #f0f6fc;
	outline: none;
}

.wcser-combobox-empty {
	color: #646970;
	cursor: default;
}

.wcser-heavy-table-filter {
	margin: 0 0 12px;
	max-width: 480px;
}

.wcser-heavy-table-search {
	width: 100%;
	min-height: 34px;
	padding: 6px 10px;
	box-sizing: border-box;
}

.wcser-heavy-table {
	margin-top: 0;
}

.wcser-heavy-table .wcser-col-thumb {
	width: 64px;
}

.wcser-heavy-table .wcser-col-actions {
	width: 100px;
	text-align: left;
}

.wcser-heavy-table img {
	border-radius: 4px;
	vertical-align: middle;
}

.wcser-heavy-save-wrap {
	margin: 24px 0 40px;
}

/* Product shipping tab */
.wcser-heavy-shipping-divider {
	display: block;
	border: 0;
	border-top: 1px solid #dcdcde;
	margin: 12px 0 4px;
	height: 0;
}

.wcser-heavy-product-shipping-field .wcser-heavy-shipping-checkbox-field label {
	font-weight: 600;
}

/* Shipping rules: heavy condition layout */
.wcser-condition-row.wcser-condition-row--heavy {
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
}

.wcser-condition-heavy-inline {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.wcser-condition-heavy-inline .wcser-condition-heavy-scope {
	width: auto;
	max-width: 11em;
	min-width: 7em;
	flex: 0 0 auto;
}

.wcser-heavy-qty-block {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	flex: 0 0 auto;
	gap: 6px;
}

.wcser-heavy-qty-label {
	font-size: 11px;
	line-height: 1.2;
	color: #50575e;
	white-space: nowrap;
}

.wcser-heavy-qty-label small {
	display: block;
	font-size: 10px;
	color: #646970;
	font-weight: normal;
}

.wcser-condition-heavy-qty {
	width: 4.5em;
	min-width: 4.5em;
	max-width: 4.5em;
	min-height: 28px;
	padding: 2px 6px;
	box-sizing: border-box;
}

.wcser-heavy-checkboxes {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.wcser-heavy-allow-label {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	width: auto;
	max-width: none;
	font-size: 11px;
	line-height: 1.25;
	cursor: pointer;
}

.wcser-heavy-allow-label input[type="checkbox"] {
	width: 14px;
	height: 14px;
	min-width: 14px;
	min-height: 14px;
	margin: 0;
	flex-shrink: 0;
}

.wcser-heavy-allow-text {
	display: inline-block;
}

.wcser-condition-row--heavy .wcser-remove-condition {
	flex: 0 0 auto;
	margin-inline-start: auto;
	align-self: center;
}

.wcser-review-heavy-shipping th,
.wcser-review-heavy-shipping td {
	font-weight: 600;
}

.wcser-heavy-item-badge {
	display: inline-block;
	margin-inline-start: 6px;
	padding: 2px 8px;
	font-size: 11px;
	line-height: 1.45;
	font-weight: 600;
	color: #7a4e00;
	background: #fff4e0;
	border: 1px solid #e6c88a;
	border-radius: 3px;
	vertical-align: middle;
	white-space: nowrap;
}

.woocommerce-checkout-review-order-table .wcser-heavy-item-badge,
.woocommerce-cart-form .wcser-heavy-item-badge,
.woocommerce-mini-cart-item .wcser-heavy-item-badge {
	font-size: 10px;
}

@media (max-width: 1100px) {
	.wcser-condition-row.wcser-condition-row--heavy {
		flex-wrap: wrap;
	}
}
