/**
 * F11: diagonal availability ribbons on product images (owner
 * reference 2026-08-04: corner-band style). One ribbon per card,
 * top-left, riding the image container. Colors from the brand
 * palette; the sale ribbon is the loudest by design.
 */
.product-media,
.ng-home__media,
.ng-home__ph,
.woocommerce-product-gallery {
	position: relative;
}

.ng-badge-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 132px;
	height: 132px;
	overflow: hidden;
	z-index: 6;
	pointer-events: none;
}

.ng-badge {
	position: absolute;
	top: 30px;
	left: -48px;
	transform: rotate(-45deg);
	width: 200px;
	padding: 6px 0;
	text-align: center;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	line-height: 1.2;
	white-space: nowrap;
}

.ng-badge--stoc       { background: #2e7d32; }
.ng-badge--epuizat    { background: #4a4438; }
.ng-badge--precomanda { background: #b58e2f; }
.ng-badge--rezervat   { background: #c2571b; }
.ng-badge--reducere   { background: #b3261e; }

/* Single product page (owner 2026-08-04 + reference): the gallery
   container starts with the thumbnail column, so a top-LEFT ribbon
   lands on the first thumb - mirror it to the TOP-RIGHT corner of the
   main image, like the reference. */
.woocommerce-product-gallery .ng-badge-wrap {
	left: auto;
	right: 0;
}

.woocommerce-product-gallery .ng-badge {
	left: auto;
	right: -48px;
	transform: rotate(45deg);
}

/* Sale ribbon: two stacked lines - the word small, the amount bold
   (owner 2026-08-04: hundreds of lei burst the single-line slot). */
.ng-badge--reducere {
	font-size: 9px;
	letter-spacing: 0.1em;
	padding: 4px 0;
}

.ng-badge--reducere .ng-badge__amount {
	display: block;
	font-size: 13px;
	letter-spacing: 0.04em;
	line-height: 1.15;
}
