.bisiesto-related-products,
.bisiesto-related-products * {
	box-sizing: border-box;
}

.bisiesto-related-products {
	padding: var(--wp--preset--spacing--96) 0;
	color: var(--wp--preset--color--body-text);
}

.bisiesto-related-products__inner {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--gutter);
}

.bisiesto-related-products__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: var(--wp--preset--spacing--columns);
	margin-bottom: var(--wp--preset--spacing--48);
}

.bisiesto-related-products__inner .bisiesto-related-products__title {
	margin: 0;
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--heading-2);
	letter-spacing: var(--wp--custom--letter-spacing--heading);
	text-wrap: balance;
}

.bisiesto-related-products__subtitle {
	display: block;
	margin-top: var(--wp--preset--spacing--8);
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--heading-4);
	line-height: var(--wp--custom--line-height--heading-5);
	letter-spacing: var(--wp--custom--letter-spacing--subtitle);
}

.bisiesto-related-products__inner .bisiesto-related-products__text {
	max-width: var(--wp--custom--layout--text-narrow);
	margin: 0;
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--line-height--body);
}

.bisiesto-related-products__inner .bisiesto-related-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--grid);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bisiesto-related-products__item {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--24);
	background-color: var(--wp--preset--color--surface-alt);
	transition: background-color 0.25s;
}

.bisiesto-related-products__item:hover {
	background-color: var(--wp--preset--color--surface-hover);
}

.bisiesto-related-products__win {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	border-radius: var(--wp--custom--radius--16);
	background-color: var(--wp--preset--color--surface);
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}

.bisiesto-related-products__win:focus-visible,
.bisiesto-related-products .bisiesto-related-products__add:focus-visible {
	outline: var(--wp--custom--size--border-focus) solid var(--wp--preset--color--focus-ring);
	outline-offset: var(--wp--preset--spacing--2);
}

.bisiesto-related-products__piece {
	display: inline-flex;
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bisiesto-related-products__win:hover .bisiesto-related-products__piece {
	transform: rotate(0deg) scale(1.07) !important;
}

.bisiesto-related-products img.bisiesto-related-products__clac {
	display: block;
	flex: none;
	max-width: none;
	width: calc(var(--s) * 1.2);
	height: calc(var(--s) * 1.2);
	margin: calc(var(--s) * -0.1);
	filter: drop-shadow(0 -1px 0 color-mix(in srgb, var(--wp--preset--color--surface) 55%, transparent)) drop-shadow(0 calc(var(--s) / 22) calc(var(--s) / 14) color-mix(in srgb, var(--wp--preset--color--heading-text) 32%, transparent));
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

.bisiesto-related-products__tag {
	position: absolute;
	top: var(--wp--preset--spacing--8);
	right: var(--wp--preset--spacing--8);
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
}

.bisiesto-related-products__tag--new {
	background-color: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary-hover);
}

.bisiesto-related-products__tag--sol {
	background-color: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--border-subtle);
	color: var(--wp--preset--color--heading-text);
}

.bisiesto-related-products__tag--sol i {
	width: 7px;
	height: 7px;
	border-radius: var(--wp--custom--radius--circle);
	background-color: var(--wp--preset--color--charity);
}

.bisiesto-related-products__text-wrap {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2);
	padding: 0 var(--wp--preset--spacing--8);
}

.bisiesto-related-products__name {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: -0.01em;
}

.bisiesto-related-products__left {
	color: var(--wp--preset--color--subtle-text);
	font-size: var(--wp--preset--font-size--eyebrow);
	line-height: var(--wp--custom--line-height--body);
}

.bisiesto-related-products__left.is-low {
	color: var(--wp--preset--color--accent-text);
}

.bisiesto-related-products__buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	margin-top: auto;
	padding: 0 var(--wp--preset--spacing--4) 0 var(--wp--preset--spacing--8);
}

.bisiesto-related-products__price {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--lead);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--lead);
}

.bisiesto-related-products .bisiesto-related-products__add {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--wp--custom--size--touch);
	height: var(--wp--custom--size--touch);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--circle);
	background-color: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--border);
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.bisiesto-related-products .bisiesto-related-products__add:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
}

.bisiesto-related-products .bisiesto-related-products__add.loading {
	opacity: 0.6;
	cursor: progress;
}

.bisiesto-related-products .bisiesto-related-products__add.loading::after,
.bisiesto-related-products .bisiesto-related-products__add.added::after {
	content: none;
}

.bisiesto-related-products__icon-ok,
.bisiesto-related-products__add.is-added .bisiesto-related-products__icon-cart {
	display: none;
}

.bisiesto-related-products__add.is-added .bisiesto-related-products__icon-ok {
	display: block;
}

.bisiesto-related-products .bisiesto-related-products__add.is-added {
	background-color: var(--wp--preset--color--success);
	box-shadow: none;
	animation: bisiesto-rp-pop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bisiesto-related-products .bisiesto-related-products__buy a.added_to_cart {
	display: none;
}

@keyframes bisiesto-rp-pop {
	0% {
		transform: scale(1);
	}

	30% {
		transform: scale(0.86);
	}

	65% {
		transform: scale(1.08);
	}

	100% {
		transform: scale(1);
	}
}

.bisiesto-related-products__more {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	margin: 0;
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--24);
	background-color: var(--wp--preset--color--surface-page);
	background-image:
		radial-gradient(60% 70% at 80% 10%, color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent), transparent 70%),
		radial-gradient(50% 60% at 10% 100%, color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent), transparent 70%);
	box-shadow: var(--wp--preset--shadow--border-subtle);
}

.bisiesto-related-products__more-text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
}

.bisiesto-related-products__more-title {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--heading-5);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--heading-5);
	letter-spacing: var(--wp--custom--letter-spacing--subtitle);
}

.bisiesto-related-products__more-desc {
	display: -webkit-box;
	min-height: calc(3 * 1.5em);
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bisiesto-related-products .bisiesto-related-products__more-buttons {
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}

@media (max-width: 1024px) {
	.bisiesto-related-products__subtitle {
		font-size: var(--wp--preset--font-size--heading-6);
	}

	.bisiesto-related-products {
		padding-block: var(--wp--preset--spacing--64);
	}

	.bisiesto-related-products__head {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--20);
	}

	.bisiesto-related-products__inner .bisiesto-related-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.bisiesto-related-products__inner .bisiesto-related-products__grid {
		display: flex;
		gap: var(--wp--preset--spacing--grid);
		margin-inline: calc(var(--wp--preset--spacing--gutter) * -1);
		padding: 0 var(--wp--preset--spacing--gutter) var(--wp--preset--spacing--8);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--wp--preset--spacing--gutter);
		scrollbar-width: none;
	}

	.bisiesto-related-products__grid::-webkit-scrollbar {
		display: none;
	}

	.bisiesto-related-products__grid > li {
		flex: 0 0 74%;
		scroll-snap-align: start;
	}

	.bisiesto-related-products__win {
		height: 170px;
	}

	.bisiesto-related-products__more {
		padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--20);
	}
}

@media (hover: none) {
	.bisiesto-related-products__item:hover {
		background-color: var(--wp--preset--color--surface-alt);
	}

	.bisiesto-related-products .bisiesto-related-products__add:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bisiesto-related-products__piece,
	.bisiesto-related-products__item,
	.bisiesto-related-products .bisiesto-related-products__add {
		transition: none;
	}

	.bisiesto-related-products .bisiesto-related-products__add.is-added {
		animation: none;
	}
}
