.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .product,
.woocommerce-page .product,
.products .product,
.nectar-woo-products .product,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
.single-product div.product .woocommerce-product-gallery,
.single-product div.product,
.single-product div.product .summary {
	position: relative;
}

.wbp-product-badges {
	position: absolute;
	z-index: 50;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
	align-items: flex-start;
	max-width: calc(100% - 20px);
	pointer-events: none;
}

.wbp-hidden-theme-sale-percent {
	display: none !important;
}

.wbp-product-badges--position-top-right,
.wbp-product-badges--position-bottom-right {
	justify-content: flex-end;
}

.wbp-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: auto;
	padding: 8px 12px;
	border-radius: 13px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	box-shadow: none;
}

.wbp-product-badges--shape-pill .wbp-badge {
	border-radius: 13px;
}

.wbp-product-badges--shape-circle .wbp-badge {
	width: 48px;
	height: 48px;
	padding: 6px;
	border-radius: 50%;
	font-size: 12px;
}

.wbp-product-badges--shape-square .wbp-badge {
	border-radius: inherit;
}

.wbp-product-badges--shape-corner {
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;
	gap: 0;
}

.wbp-product-badges--shape-corner .wbp-badge {
	min-width: 84px;
	border-radius: 0;
	transform: rotate(0deg);
	box-shadow: none;
}

.wbp-settings .wbp-settings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	max-width: 1120px;
	margin-top: 18px;
}

.wbp-settings .wbp-panel {
	padding: 18px;
	border: 1px solid #dcdcde;
	background: #fff;
	border-radius: 6px;
}

.wbp-settings .wbp-panel h2 {
	margin-top: 0;
}

.wbp-settings label {
	display: block;
	margin: 14px 0;
}

.wbp-settings label > span {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.wbp-settings input[type="text"],
.wbp-settings input[type="number"],
.wbp-settings select {
	width: 100%;
	max-width: 360px;
}

.wbp-settings input[type="color"] {
	width: 64px;
	height: 36px;
	padding: 2px;
}

.wbp-settings .wbp-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wbp-settings .wbp-checkbox > span {
	margin-bottom: 0;
}

.wbp-settings .wbp-panel.is-disabled label:not(.wbp-checkbox),
.wbp-settings .wbp-panel.is-disabled .description {
	opacity: 0.45;
}

.wbp-settings .wbp-range-row,
.wbp-settings .wbp-tier-row {
	margin: 14px 0;
	padding: 12px;
	border: 1px solid #dcdcde;
	background: #f9f9f9;
	border-radius: 6px;
}

.wbp-settings .wbp-range-row__header,
.wbp-settings .wbp-tier-row__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.wbp-settings .wbp-range-row label,
.wbp-settings .wbp-tier-row label {
	margin: 10px 0;
}

.wbp-settings .wbp-preview-wrap {
	margin-top: 18px;
	padding: 20px;
	border: 1px dashed #c3c4c7;
	background: #f6f7f7;
	border-radius: 6px;
}

.wbp-settings .wbp-preview-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: auto;
	padding: 8px 12px;
	font-weight: 600;
	line-height: 1;
}

@media (max-width: 640px) {
	.wbp-badge {
		min-height: auto;
		padding: 5px 8px;
		font-size: 12px;
	}

	.wbp-product-badges--shape-circle .wbp-badge {
		width: 42px;
		height: 42px;
		font-size: 11px;
	}
}
