/* Keep the existing product link native while making the full card clickable. */
body .flowers .flower .product-item {
	cursor: pointer;
}

body .flowers .flower .product-item .img.product-item-image-wrapper {
	grid-column: auto;
	grid-row: auto;
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

body .flowers .flower .product-item .name {
	pointer-events: none;
}

body .flowers .flower .product-item .name a {
	pointer-events: auto;
}

body .flowers .flower .product-item .product-item-label-text {
	position: absolute !important;
	top: 76px !important;
	right: auto !important;
	left: 16px !important;
	z-index: 3;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: max-content;
	max-width: calc(100% - 76px);
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	pointer-events: none;
}

body .flowers .flower .product-item .product-item-label-text > div {
	display: block !important;
	max-width: 100%;
}

body .flowers .flower .product-item .product-item-label-text span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	padding: 6px 9px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: #f8e8e9 !important;
	color: #9b404b !important;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1.1 !important;
	letter-spacing: 0;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
	box-shadow: 0 2px 7px rgba(27, 31, 35, 0.08) !important;
}

body .flowers .flower .product-item .product-item-label-text span[title="Новинка"] {
	background: #e8f4ec !important;
	color: #356d4d !important;
}

body .flowers .flower .product-item .product-item-label-text span[title="Премиум"] {
	background: #faf0dc !important;
	color: #765b2a !important;
}

body .flowers .flower .product-item .product-item-label-ring {
	position: absolute !important;
	top: 76px !important;
	right: 16px !important;
	left: auto !important;
	z-index: 3;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: #edf1fa !important;
	color: #485d90 !important;
	transform: none !important;
	pointer-events: none;
}

body .flowers .flower .product-item .product-item-label-ring:not([style*="display: none"]):not([style*="display:none"]) {
	display: block !important;
}

body .flowers .flower .product-item .product-item-label-ring span {
	display: block;
	padding: 6px 9px;
	background: transparent !important;
	color: inherit !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
}

@media (max-width: 767px) {
	body .flowers .flower .product-item .product-item-label-text {
		top: 68px !important;
		left: 9px !important;
		max-width: calc(100% - 55px);
	}

	body .flowers .flower .product-item .product-item-label-ring {
		top: 68px !important;
		right: 9px !important;
	}

	body .flowers .flower .product-item .product-item-label-text span,
	body .flowers .flower .product-item .product-item-label-ring span {
		padding: 5px 7px !important;
		font-size: 10px !important;
	}
}
