.bisiesto-product-catalog,
.bisiesto-product-catalog * {
	box-sizing: border-box;
}

.bisiesto-product-catalog {
	padding: 0 0 var(--wp--preset--spacing--96);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body-text);
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--line-height--body);
}

.wp-block-post-content > .bisiesto-product-catalog.alignfull,
.bisiesto-product-catalog.alignfull {
	margin-block: 0;
}

.bisiesto-product-catalog p,
.bisiesto-product-catalog h2,
.bisiesto-product-catalog ul {
	margin: 0;
}

.bisiesto-product-catalog [hidden] {
	display: none !important;
}

.bisiesto-product-catalog__bar {
	position: sticky;
	top: var(--wp--custom--layout--header-height);
	z-index: 40;
	background-color: var(--wp--preset--color--surface-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--wp--preset--color--border-subtle);
}

.bisiesto-product-catalog__bar.is-stuck::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: var(--wp--custom--layout--header-height);
	background-color: var(--wp--preset--color--surface);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}

.bisiesto-product-catalog__bar-inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--gutter);
}

.bisiesto-product-catalog__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
}

.bisiesto-product-catalog__scroll {
	display: flex;
	gap: var(--wp--preset--spacing--4);
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bisiesto-product-catalog__scroll::-webkit-scrollbar {
	display: none;
}

.bisiesto-product-catalog__pill {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	min-height: var(--wp--custom--size--touch);
	padding: 0 var(--wp--preset--spacing--16);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--border);
	color: var(--wp--preset--color--secondary-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.bisiesto-product-catalog__pill:hover {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--metal-dark);
	color: var(--wp--preset--color--heading-text);
}

.bisiesto-product-catalog__pill i {
	padding: 0 var(--wp--preset--spacing--4);
	border-radius: var(--wp--custom--radius--pill);
	background-color: color-mix(in srgb, var(--wp--preset--color--heading-text) 6%, transparent);
	font-size: var(--wp--preset--font-size--caption);
	font-style: normal;
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
}

.bisiesto-product-catalog__pill b {
	width: 8px;
	height: 8px;
	border-radius: var(--wp--custom--radius--circle);
	background-color: var(--wp--preset--color--charity);
}

.bisiesto-product-catalog__pill[aria-pressed="true"] {
	background-color: var(--wp--preset--color--primary-soft);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-active);
}

.bisiesto-product-catalog__pill[aria-pressed="true"] i {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent);
}

.bisiesto-product-catalog__tools {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
}

.bisiesto-product-catalog__search {
	position: relative;
	display: block;
}

.bisiesto-product-catalog__input {
	width: 200px;
	height: var(--wp--custom--size--touch);
	padding: 0 var(--wp--preset--spacing--16) 0 var(--wp--preset--spacing--40);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--border);
	color: var(--wp--preset--color--body-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
}

.bisiesto-product-catalog__input::placeholder {
	color: var(--wp--preset--color--subtle-text);
}

.bisiesto-product-catalog__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.bisiesto-product-catalog__go {
	position: absolute;
	top: 50%;
	left: var(--wp--preset--spacing--8);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--circle);
	background: none;
	transform: translateY(-50%);
	cursor: pointer;
}

.bisiesto-product-catalog__go img {
	display: block;
}

.bisiesto-product-catalog__select {
	height: var(--wp--custom--size--touch);
	padding: 0 var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--16);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface) url("assets/icon-chevron-down.svg") no-repeat right var(--wp--preset--spacing--12) center;
	box-shadow: var(--wp--preset--shadow--border);
	color: var(--wp--preset--color--body-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.bisiesto-product-catalog__select--sort {
	padding-left: var(--wp--preset--spacing--40);
	background-image: url("assets/icon-sort.svg"), url("assets/icon-chevron-down.svg");
	background-repeat: no-repeat, no-repeat;
	background-position: left var(--wp--preset--spacing--16) center, right var(--wp--preset--spacing--12) center;
}

.bisiesto-product-catalog__select--coll {
	display: none;
}

.bisiesto-product-catalog__input:focus-visible,
.bisiesto-product-catalog__select:focus-visible,
.bisiesto-product-catalog__pill:focus-visible,
.bisiesto-product-catalog__chip:focus-visible,
.bisiesto-product-catalog__link:focus-visible,
.bisiesto-product-catalog__add:focus-visible,
.bisiesto-product-catalog__reset:focus-visible {
	outline: var(--wp--custom--size--border-focus) solid var(--wp--preset--color--focus-ring);
	outline-offset: var(--wp--preset--spacing--2);
}

.bisiesto-product-catalog__go:focus-visible {
	outline: 2px solid var(--wp--preset--color--focus-ring);
	outline-offset: 0;
}

.bisiesto-product-catalog__chips {
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--2);
	margin-left: calc(var(--wp--preset--spacing--8) * -1);
	overflow-x: auto;
	-webkit-mask-image: linear-gradient(90deg, var(--wp--preset--color--heading-text) 90%, transparent);
	mask-image: linear-gradient(90deg, var(--wp--preset--color--heading-text) 90%, transparent);
}

.bisiesto-product-catalog__chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 34px;
	padding: 0 var(--wp--preset--spacing--12);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background-color: transparent;
	color: var(--wp--preset--color--muted-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.bisiesto-product-catalog__chip:hover {
	background-color: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--heading-text);
}

.bisiesto-product-catalog__chip[aria-pressed="true"] {
	background-color: var(--wp--preset--color--surface-inverse);
	color: var(--wp--preset--color--on-primary);
}

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

.bisiesto-product-catalog__info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--24) 0 var(--wp--preset--spacing--20);
}

.bisiesto-product-catalog__count {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--heading-5);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: var(--wp--custom--letter-spacing--title);
}

.bisiesto-product-catalog__note {
	max-width: var(--wp--custom--layout--text-medium);
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

.bisiesto-product-catalog__reset {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--wp--preset--color--primary);
	font-weight: var(--wp--custom--font-weight--medium);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bisiesto-product-catalog__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: var(--wp--preset--spacing--grid);
	padding: 0;
	list-style: none;
}

.bisiesto-product-catalog__item.is-rest {
	display: none;
}

.bisiesto-product-catalog__card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	height: 100%;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--24);
	background-color: var(--wp--preset--color--surface-alt);
	transition: background-color 0.25s;
}

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

.bisiesto-product-catalog__link {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--16);
	color: inherit;
	text-decoration: none;
}

.bisiesto-product-catalog__win {
	--bisiesto-pc-tint: var(--wp--preset--color--cobalt);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	border-radius: var(--wp--custom--radius--16);
	background-color: var(--wp--preset--color--surface);
	background-image:
		radial-gradient(70% 60% at 50% 120%, color-mix(in srgb, var(--bisiesto-pc-tint) 11%, transparent), transparent 70%),
		radial-gradient(40% 40% at 88% 8%, color-mix(in srgb, var(--bisiesto-pc-tint) 8%, transparent), transparent 70%);
	overflow: hidden;
}

.bisiesto-product-catalog__win--1 {
	--bisiesto-pc-tint: var(--wp--preset--color--accent);
}

.bisiesto-product-catalog__win--2,
.bisiesto-product-catalog__win--sol {
	--bisiesto-pc-tint: var(--wp--preset--color--charity);
}

.bisiesto-product-catalog__piece {
	display: inline-flex;
	filter: var(--wp--custom--filter--bubble);
	transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.4, 1);
}

.bisiesto-product-catalog__link:hover .bisiesto-product-catalog__piece {
	transform: scale(1.07) rotate(0deg) !important;
}

.bisiesto-product-catalog img.bisiesto-product-catalog__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: var(--wp--custom--filter--clac);
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

.bisiesto-product-catalog__tags {
	position: absolute;
	top: var(--wp--preset--spacing--8);
	left: var(--wp--preset--spacing--8);
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--4);
}

.bisiesto-product-catalog__tag {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--4);
	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: 1;
}

.bisiesto-product-catalog__tag--new {
	background-color: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary-active);
}

.bisiesto-product-catalog__tag--sol {
	background-color: color-mix(in srgb, var(--wp--preset--color--charity) 20%, var(--wp--preset--color--surface));
	color: color-mix(in srgb, var(--wp--preset--color--charity) 35%, var(--wp--preset--color--heading-text));
}

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

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

.bisiesto-product-catalog__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--heading-5);
	letter-spacing: -0.01em;
}

.bisiesto-product-catalog__coll {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--eyebrow);
	line-height: var(--wp--custom--line-height--eyebrow);
}

.bisiesto-product-catalog__units {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: 0 var(--wp--preset--spacing--8);
}

/* Whole run (100 of 100) or stock not managed: no meter at all. */
.bisiesto-product-catalog__units.is-empty {
	display: none;
}

.bisiesto-product-catalog__bar-track {
	display: block;
	height: 4px;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--border-default);
	overflow: hidden;
}

.bisiesto-product-catalog__bar-fill {
	display: block;
	height: 100%;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--primary);
}

.bisiesto-product-catalog__bar-fill.is-low {
	background-color: var(--wp--preset--color--accent);
}

.bisiesto-product-catalog__bar-fill.is-sol {
	background-color: var(--wp--preset--color--charity);
}

.bisiesto-product-catalog__left {
	color: var(--wp--preset--color--muted-text);
	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-product-catalog__left.is-low {
	color: var(--wp--preset--color--accent-text);
}

.bisiesto-product-catalog__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--2) 0 var(--wp--preset--spacing--8);
}

.bisiesto-product-catalog__price-wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bisiesto-product-catalog__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--body);
}

.bisiesto-product-catalog__size {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--line-height--caption);
	white-space: nowrap;
}

.bisiesto-product-catalog .bisiesto-product-catalog__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-product-catalog .bisiesto-product-catalog__add:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
}

.bisiesto-product-catalog .bisiesto-product-catalog__add.loading {
	opacity: 0.6;
	cursor: progress;
}

.bisiesto-product-catalog .bisiesto-product-catalog__add.loading::after,
.bisiesto-product-catalog .bisiesto-product-catalog__add.added::after {
	content: none;
}

.bisiesto-product-catalog__icon-ok,
.bisiesto-product-catalog__add.is-added .bisiesto-product-catalog__icon-cart {
	display: none;
}

.bisiesto-product-catalog__add.is-added .bisiesto-product-catalog__icon-ok {
	display: block;
}

.bisiesto-product-catalog .bisiesto-product-catalog__add.is-added {
	background-color: var(--wp--preset--color--success);
	box-shadow: none;
	animation: bisiesto-pc-pop 0.35s ease;
}

.bisiesto-product-catalog .bisiesto-product-catalog__buy a.added_to_cart {
	display: none;
}

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

	40% {
		transform: scale(1.14);
	}

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

.bisiesto-product-catalog__lab-item {
	grid-column: span var(--s4, 1);
	container-type: inline-size;
}

.bisiesto-product-catalog__lab {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	height: 100%;
	padding: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--24);
	background-color: var(--wp--preset--color--primary-soft);
	background-image:
		radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent), transparent 70%),
		radial-gradient(60% 50% at 100% 100%, color-mix(in srgb, var(--wp--preset--color--charity) 16%, transparent), transparent 70%);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--primary) 12%, var(--wp--preset--color--surface));
}

.bisiesto-product-catalog__lab-win {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 150px;
}

.bisiesto-product-catalog__lab-piece {
	display: inline-flex;
	filter: var(--wp--custom--filter--bubble);
	transform: rotate(-6deg);
}

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

.bisiesto-product-catalog__lab-title {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--heading-4);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--heading-2);
	letter-spacing: var(--wp--custom--letter-spacing--subtitle);
}

.bisiesto-product-catalog__lab-text p {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

.bisiesto-product-catalog__lab-buttons {
	align-self: flex-start;
}

@container (min-width: 640px) {
	.bisiesto-product-catalog__lab {
		flex-direction: row;
		align-items: center;
		gap: var(--wp--preset--spacing--32);
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--32) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20);
	}

	.bisiesto-product-catalog__lab-win {
		flex: none;
		width: 180px;
		min-height: 150px;
		border-radius: var(--wp--custom--radius--16);
		background-color: color-mix(in srgb, var(--wp--preset--color--surface) 60%, transparent);
	}

	.bisiesto-product-catalog__lab-text {
		flex: 1;
	}

	.bisiesto-product-catalog__lab-buttons {
		flex: none;
		align-self: center;
	}
}

.bisiesto-product-catalog__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-column: 1 / -1;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--20) var(--wp--preset--spacing--56);
	text-align: center;
}

.bisiesto-product-catalog__imanol {
	display: block;
	width: 150px;
	height: 150px;
}

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

.bisiesto-product-catalog__empty-text {
	max-width: var(--wp--custom--layout--text-narrow);
	color: var(--wp--preset--color--muted-text);
}

.bisiesto-product-catalog__more {
	display: flex;
	justify-content: center;
	margin-top: var(--wp--preset--spacing--32);
}

.bisiesto-product-catalog__cross {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)) auto;
	align-items: center;
	gap: var(--wp--preset--spacing--16) calc(var(--wp--preset--spacing--24) + var(--wp--preset--spacing--4));
	margin-top: var(--wp--preset--spacing--32);
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--24);
	background-color: var(--wp--preset--color--surface-alt);
}

.bisiesto-product-catalog__cross-head {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

.bisiesto-product-catalog__cross-title {
	color: var(--wp--preset--color--heading-text);
	font-size: var(--wp--preset--font-size--heading-6);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: var(--wp--custom--letter-spacing--title);
}

.bisiesto-product-catalog__cross-text {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--small);
}

.bisiesto-product-catalog__offer {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
}

.bisiesto-product-catalog__offer img {
	display: block;
	flex: none;
}

.bisiesto-product-catalog__offer-text {
	display: flex;
	flex-direction: column;
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--label);
	line-height: var(--wp--custom--line-height--label);
}

.bisiesto-product-catalog .bisiesto-product-catalog__pack {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	height: 32px;
	margin-top: var(--wp--preset--spacing--8);
	padding: 0 calc(var(--wp--preset--spacing--12) + var(--wp--preset--spacing--2));
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--border);
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--label);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--label);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.bisiesto-product-catalog .bisiesto-product-catalog__pack:hover {
	background-color: var(--wp--preset--color--primary-soft);
}

.bisiesto-product-catalog .bisiesto-product-catalog__pack.is-added {
	background-color: var(--wp--preset--color--success);
	box-shadow: none;
	color: var(--wp--preset--color--on-primary);
}

.bisiesto-product-catalog .bisiesto-product-catalog__pack.loading {
	opacity: 0.6;
}

.bisiesto-product-catalog .bisiesto-product-catalog__pack:focus-visible {
	outline: 2px solid var(--wp--preset--color--focus-ring);
	outline-offset: 2px;
}

.bisiesto-product-catalog .bisiesto-product-catalog__offer-text a.added_to_cart {
	display: none;
}

.bisiesto-product-catalog__offer-text strong {
	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--label);
}

@media (hover: none) {
	.bisiesto-product-catalog__link:hover .bisiesto-product-catalog__piece {
		transform: none !important;
	}
}

@media (max-width: 1024px) {
	.bisiesto-product-catalog__bar-inner {
		padding-block: var(--wp--preset--spacing--8);
	}

	.bisiesto-product-catalog__row {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wp--preset--spacing--8);
	}

	.bisiesto-product-catalog__scroll {
		margin-inline: calc(var(--wp--preset--spacing--gutter) * -1);
		padding-inline: var(--wp--preset--spacing--gutter);
	}

	.bisiesto-product-catalog__tools {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.bisiesto-product-catalog__search,
	.bisiesto-product-catalog__chips {
		display: none !important;
	}

	.bisiesto-product-catalog__select,
	.bisiesto-product-catalog__select--coll {
		display: block;
		width: 100%;
	}

	.bisiesto-product-catalog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bisiesto-product-catalog__lab-item {
		grid-column: span var(--s3, 1);
	}

	.bisiesto-product-catalog__cross {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.bisiesto-product-catalog__cross-buttons .wp-block-button,
	.bisiesto-product-catalog__cross-buttons .wp-block-button__link {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.bisiesto-product-catalog {
		padding-bottom: var(--wp--preset--spacing--64);
	}

	.bisiesto-product-catalog__pill {
		padding: 0 var(--wp--preset--spacing--12);
	}

	.bisiesto-product-catalog__select {
		padding: 0 var(--wp--preset--spacing--32) 0 var(--wp--preset--spacing--12);
		background-position: right var(--wp--preset--spacing--8) center;
		font-size: var(--wp--preset--font-size--body);
	}

	.bisiesto-product-catalog__select--sort {
		padding-left: var(--wp--preset--spacing--32);
		background-position: left var(--wp--preset--spacing--12) center, right var(--wp--preset--spacing--8) center;
	}

	.bisiesto-product-catalog__info {
		padding: var(--wp--preset--spacing--16) 0 var(--wp--preset--spacing--12);
	}

	.bisiesto-product-catalog__count {
		font-size: var(--wp--preset--font-size--lead);
	}

	.bisiesto-product-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bisiesto-product-catalog__lab-item {
		grid-column: span var(--s2, 1);
	}

	.bisiesto-product-catalog__card {
		gap: var(--wp--preset--spacing--8);
		padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
		border-radius: var(--wp--custom--radius--20);
	}

	.bisiesto-product-catalog__link {
		gap: var(--wp--preset--spacing--8);
	}

	.bisiesto-product-catalog__win {
		height: 150px;
	}

	.bisiesto-product-catalog__tags {
		top: var(--wp--preset--spacing--4);
		left: var(--wp--preset--spacing--4);
	}

	.bisiesto-product-catalog__text,
	.bisiesto-product-catalog__units {
		padding: 0 var(--wp--preset--spacing--4);
	}

	.bisiesto-product-catalog__buy {
		padding: 0 0 0 var(--wp--preset--spacing--4);
	}

	.bisiesto-product-catalog__piece--z0 > * {
		zoom: 0.76;
	}

	.bisiesto-product-catalog__piece--z1 > * {
		zoom: 0.78;
	}

	.bisiesto-product-catalog__piece--z2 > * {
		zoom: 0.7;
	}

	.bisiesto-product-catalog__piece--z3 > * {
		zoom: 0.62;
	}

	.bisiesto-product-catalog__lab {
		gap: var(--wp--preset--spacing--12);
		padding: var(--wp--preset--spacing--16);
		border-radius: var(--wp--custom--radius--20);
	}

	.bisiesto-product-catalog__lab-win {
		min-height: 110px;
	}

	.bisiesto-product-catalog__lab-piece > * {
		zoom: 0.8;
	}

	.bisiesto-product-catalog__lab-buttons,
	.bisiesto-product-catalog__lab-buttons .wp-block-button,
	.bisiesto-product-catalog__lab-buttons .wp-block-button__link,
	.bisiesto-product-catalog__more .wp-block-buttons,
	.bisiesto-product-catalog__more .wp-block-button,
	.bisiesto-product-catalog__more .wp-block-button__link {
		align-self: stretch;
		width: 100%;
	}

	.bisiesto-product-catalog__more {
		margin-top: var(--wp--preset--spacing--16);
	}

	.bisiesto-product-catalog__cross {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--12);
		padding: var(--wp--preset--spacing--20);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bisiesto-product-catalog *,
	.bisiesto-product-catalog *::before,
	.bisiesto-product-catalog *::after {
		animation: none !important;
		transition: none !important;
	}
}
