/* Throttlerz Diwali circular discount badge */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative;
	display: block;
}

/* Place discount badge on the right so it sits opposite the top-left free-shipping badge. */
.woocommerce ul.products li.product span.onsale.tddm-discount-badge,
.woocommerce-page ul.products li.product span.onsale.tddm-discount-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	min-width: 68px;
	min-height: 68px;
	margin: 0;
	padding: 5px;
	box-sizing: border-box;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: linear-gradient(145deg, #ff3030 0%, #d90000 62%, #a90000 100%);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .2px;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
	transform: rotate(8deg);
}

@media (max-width: 480px) {
	.woocommerce ul.products li.product span.onsale.tddm-discount-badge,
	.woocommerce-page ul.products li.product span.onsale.tddm-discount-badge {
		top: 7px;
		right: 7px;
		width: 56px;
		height: 56px;
		min-width: 56px;
		min-height: 56px;
		font-size: 10px;
		border-width: 2px;
	}
}

/* Single-product badge retains circular styling; positioning stays theme-controlled. */
.single-product .product span.onsale.tddm-discount-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	min-width: 68px;
	min-height: 68px;
	padding: 5px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: linear-gradient(145deg, #ff3030 0%, #d90000 62%, #a90000 100%);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.05;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
	transform: rotate(8deg);
}
