/* Product-card layout inspired by the supplied reference. */
.flowers .flower .product-item,
.flowers .flower .product-item * {
	box-sizing: border-box;
}

.flowers:not(.hits) > .row.product-item-list-col-3 {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
	width: 100%;
	margin: 0 !important;
}

.flowers:not(.hits) > .row.product-item-list-col-3 > .flower {
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.flowers.hits .flower,
.recommended-flowers .flowers .flower {
	padding: 0 6px !important;
}

.recommended-flowers .flowers .flower {
	margin: 0 !important;
}

.flowers .flower .product-item {
	--card-surface: #cbc0c8;
	position: relative;
	display: block;
	width: 100%;
	height: auto !important;
	min-height: 0;
	aspect-ratio: 0.817 / 1;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
	background: var(--card-surface);
	box-shadow: none;
}

.flowers .flower:nth-child(8n + 2) .product-item {
	--card-surface: #bbb4b9;
}

.flowers .flower:nth-child(8n + 3) .product-item {
	--card-surface: #756c71;
}

.flowers .flower:nth-child(8n + 4) .product-item {
	--card-surface: #929493;
}

.flowers .flower:nth-child(8n + 5) .product-item {
	--card-surface: #c4c4cc;
}

.flowers .flower:nth-child(8n + 6) .product-item {
	--card-surface: #6f6687;
}

.flowers .flower:nth-child(8n + 7) .product-item {
	--card-surface: #a7a0a4;
}

.flowers .flower:nth-child(8n + 8) .product-item {
	--card-surface: #b98295;
}

.flowers .flower .product-item::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.18) 0,
		rgba(255, 255, 255, 0.03) 24%,
		rgba(23, 21, 23, 0) 62%,
		rgba(23, 21, 23, 0.18) 100%
	);
}

.flowers .flower .img.product-item-image-wrapper,
.flowers .flower .product-item > .product-item-image-wrapper {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

.flowers .flower .product-item-image-original,
.flowers .flower .product-item-image-alternative {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	background-color: var(--card-surface) !important;
	background-blend-mode: multiply;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	mix-blend-mode: normal;
	filter: saturate(0.98) contrast(1.02);
	transition: opacity 0.28s ease, transform 0.38s ease !important;
}

.flowers .flower .img:hover .product-item-image-original,
.flowers .flower .img:hover .product-item-image-alternative {
	width: 100% !important;
	margin-left: 0 !important;
	transform: scale(1.035);
}

.flowers .flower .name {
	position: absolute;
	top: 22px;
	left: 24px;
	right: 66px;
	z-index: 5;
	min-height: 0 !important;
	margin: 0;
	text-align: left;
}

.flowers .flower .name a {
	display: -webkit-box;
	overflow: hidden;
	color: #46506a !important;
	font-size: 18px !important;
	font-weight: 600;
	line-height: 1.04 !important;
	letter-spacing: 0;
	text-decoration: none;
	text-wrap: balance;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-shadow: 0 1px 8px rgba(255, 255, 255, 0.48);
}

.flowers .flower:nth-child(8n + 3) .name a,
.flowers .flower:nth-child(8n + 6) .name a,
.flowers .flower:nth-child(8n + 8) .name a {
	color: #fff !important;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.flowers .flower .product-item-label-text {
	position: absolute !important;
	top: 66px !important;
	left: 24px !important;
	right: auto !important;
	z-index: 5;
	max-width: calc(100% - 48px);
	text-align: left;
}

.flowers .flower .product-item-label-text .d-none.d-sm-block {
	display: block !important;
}

body .flowers .flower .product-item-label-text.product-item-label-small span,
body .flowers .flower .product-item-label-text.product-item-label-big span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #46506a !important;
	font-size: 12px !important;
	font-weight: 500;
	line-height: 1.15 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-transform: lowercase;
	box-shadow: none !important;
}

.flowers .flower:nth-child(8n + 3) .product-item-label-text span,
.flowers .flower:nth-child(8n + 6) .product-item-label-text span,
.flowers .flower:nth-child(8n + 8) .product-item-label-text span {
	color: #fff !important;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.flowers .flower .favourite-item {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 7;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
}

.flowers .flower .favourite-item button {
	display: grid;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.22));
}

.flowers .flower .favourite-item svg,
.product-item .flowers .favourite-item svg {
	width: 24px !important;
	height: 24px !important;
	stroke: currentColor !important;
	stroke-width: 1.5px !important;
}

.flowers .flower .favourite-item .intensa-favorite-item[data-favorite-status="N"] .intensa-favorite-icon path {
	fill: transparent !important;
	stroke: currentColor !important;
}

.flowers .flower .price.product-item-price-container {
	position: absolute !important;
	right: 14px;
	bottom: 14px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	width: auto;
	min-height: 42px;
	margin: 0 !important;
	padding: 9px 12px 9px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	color: #4b5269 !important;
	font-size: 16px !important;
	font-weight: 500;
	line-height: 1 !important;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(35, 30, 34, 0.08);
	backdrop-filter: blur(5px);
	pointer-events: none;
}

.flowers .flower .price.product-item-price-container::after {
	content: "›";
	margin-left: 3px;
	font-size: 19px;
	font-weight: 400;
	line-height: 0.8;
}

.flowers .flower .price .product-item-price-current {
	margin: 0 !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit;
	line-height: inherit;
}

.flowers .flower .price .product-item-price-old {
	margin-right: 5px;
	color: #80838e;
	font-size: 11px;
	line-height: 1;
	text-decoration: line-through;
}

.flowers .flower [data-entity="buttons-block"] {
	position: absolute !important;
	left: 14px;
	bottom: 14px;
	z-index: 6;
	display: block !important;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
}

.flowers .flower [data-entity="buttons-block"] .product-item-button-container {
	margin: 0;
}

.flowers .flower [data-entity="buttons-block"] .btn,
.flowers .flower [data-entity="buttons-block"] .btn-primary {
	position: relative;
	display: inline-grid;
	width: 42px;
	min-width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.94) !important;
	color: #4b5269 !important;
	box-shadow: 0 6px 18px rgba(35, 30, 34, 0.08) !important;
	backdrop-filter: blur(5px);
}

.flowers .flower [data-entity="buttons-block"] .btn:hover,
.flowers .flower [data-entity="buttons-block"] .btn:focus {
	background: #fff !important;
	color: #222733 !important;
	transform: translateY(-1px);
}

.flowers .flower [data-entity="buttons-block"] .btn svg {
	width: 18px;
	height: 19px;
	margin: 0 !important;
}

.flowers .flower [data-entity="buttons-block"] .btn > span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.flowers .flower [data-entity="buttons-block"] .btn-link {
	width: auto;
	max-width: 128px;
	padding: 0 12px !important;
	border-radius: 14px !important;
	font-size: 12px;
	line-height: 1.1;
	white-space: normal;
}

.flowers .flower .product-item-scu-container,
.flowers .flower [data-entity="quantity-block"] {
	position: relative;
	z-index: 8;
}

@media (max-width: 1024px) {
	.flowers:not(.hits) > .row.product-item-list-col-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.flowers .flower .product-item {
		border-radius: 20px;
	}
}

@media (max-width: 767px) {
	.flowers:not(.hits) > .row.product-item-list-col-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.flowers.hits .flower,
	.recommended-flowers .flowers .flower {
		padding: 0 4px !important;
	}

	.flowers .flower .product-item {
		aspect-ratio: 0.79 / 1;
		border-radius: 16px;
	}

	.flowers .flower .name {
		top: 14px;
		left: 14px;
		right: 47px;
	}

	.flowers .flower .name a {
		font-size: 14px !important;
		line-height: 1.05 !important;
	}

	.flowers .flower .product-item-label-text {
		top: 47px !important;
		left: 14px !important;
		max-width: calc(100% - 28px);
	}

	body .flowers .flower .product-item-label-text.product-item-label-small span,
	body .flowers .flower .product-item-label-text.product-item-label-big span {
		font-size: 10px !important;
	}

	.flowers .flower .favourite-item {
		top: 7px;
		right: 7px;
		width: 38px;
		height: 38px;
	}

	.flowers .flower .favourite-item button {
		width: 38px;
		height: 38px;
	}

	.flowers .flower .favourite-item svg,
	.product-item .flowers .favourite-item svg {
		width: 21px !important;
		height: 21px !important;
	}

	.flowers .flower .price.product-item-price-container {
		right: 9px;
		bottom: 9px;
		min-height: 34px;
		padding: 7px 8px 7px 10px;
		border-radius: 11px;
		font-size: 13px !important;
	}

	.flowers .flower .price.product-item-price-container::after {
		margin-left: 2px;
		font-size: 16px;
	}

	.flowers .flower .price .product-item-price-old {
		display: none;
	}

	.flowers .flower [data-entity="buttons-block"] {
		left: 9px;
		bottom: 9px;
	}

	.flowers .flower [data-entity="buttons-block"] .btn,
	.flowers .flower [data-entity="buttons-block"] .btn-primary {
		width: 34px;
		min-width: 34px;
		height: 34px;
		min-height: 34px;
	}

	.flowers .flower [data-entity="buttons-block"] .btn svg {
		width: 15px;
		height: 16px;
	}
}

@media (max-width: 359px) {
	.flowers .flower .name a {
		font-size: 12px !important;
	}

	.flowers .flower .price.product-item-price-container {
		font-size: 12px !important;
	}
}
