.product-card,
.product-card *,
.product-card *::before,
.product-card *::after {
	box-sizing: border-box;
}

.product-card {
	position: relative;
	width: 227px;
	min-width: 227px;
	max-width: 227px;
	height: 354px;
	overflow: visible;
	border-radius: 16px;
}

#related .product-card {
	float: none;
	border: 0;
}

#related .product-card::before {
	display: none;
}

.product-card .removeFromWishlist {
	display: none;
}

/* Product card / 1 — default */
.product-card__inner {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 227px;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: transparent;
}

.product-card:hover {
	z-index: 50;
}

/* Product card / 2 — hover overlay */
.product-card:hover .product-card__inner {
	left: 50%;
	transform: translateX(-50%);
	z-index: 51;
	overflow: visible;
	background: #fff;
	padding-bottom: 24px;
	box-shadow: 0 4px 42px rgba(0, 0, 0, 0.08);
}

.product-card__markers {
	left: 8px;
	top: 8px;
}

.product-card__timer {
	top: 48px;
	right: 8px;
}

.product-card__media {
	position: relative;
	flex-shrink: 0;
	height: 230px;
	overflow: hidden;
	background: #fff;
}

.product-card__picture {
	display: block;
	height: 100%;
	text-decoration: none;
}

.product-card__picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card__fast-view {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 161px;
	height: 40px;
	padding: 9px 16px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	font-family: inherit;
	font-weight: 400;
	font-size: 14px;
	line-height: 22px;
	color: #111827;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	white-space: nowrap;
	cursor: pointer;
	margin: 0;
}

.product-card:hover .product-card__fast-view {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.product-card__fast-view.loading {
	opacity: 1;
	pointer-events: none;
}

.product-card__spec {
	position: absolute;
	left: 8px;
	top: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(2.5px);
	-webkit-backdrop-filter: blur(2.5px);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: #1c2126;
	white-space: nowrap;
}

.product-card__spec-sup {
	font-size: 9px;
	line-height: 20px;
	font-weight: 500;
	vertical-align: baseline;
}

.product-card__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 0 12px;
}

.product-card__main {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-card:hover .product-card__main {
	gap: 10px;
}

.product-card__price-row {
	order: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
}

.product-card__price,
.product-card__price.price {
	margin: 0;
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #111827;
	text-decoration: none;
}

.product-card__price .measure {
	font-weight: inherit;
}

.product-card__old-price,
.product-card__old-price.discount {
	display: inline-block;
	margin: 0;
	padding: 4px 0;
	font-size: 16px;
	line-height: 18px;
	font-weight: 400;
	color: #999;
	text-decoration: line-through;
}

.product-card__availability {
	order: 1;
	display: flex;
	align-items: center;
	gap: 4px;
}

.product-card__availability-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.product-card__availability-icon.inStock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5L8.5 14L15 7' stroke='%2373B24E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-card__availability-icon.onOrder,
.product-card__availability-icon.outOfStock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M6 10H14' stroke='%23888888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.product-card__availability-text {
	font-size: 14px;
	line-height: 20px;
	color: #73b24e;
}

.product-card__availability-icon.onOrder + .product-card__availability-text,
.product-card__availability-icon.outOfStock + .product-card__availability-text {
	color: #888;
}

.product-card__name,
.product-card__name.name {
	order: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #1c2126;
	text-decoration: none;
}

.product-card__name:hover {
	color: #ff5a00;
}

.product-card__hover {
	display: none;
	flex-direction: column;
	gap: 18px;
}

.product-card:hover .product-card__hover {
	display: flex;
}

.product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-card__actions-row {
	display: flex;
	gap: 8px;
}

.product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	height: 40px;
	padding: 9px 16px;
	border: 0;
	border-radius: 0;
	font-size: 15px;
	line-height: 22px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.product-card__btn--primary {
	flex: 1 1 auto;
	background: #ff5a00;
	color: #fff;
	font-weight: 500;
}

.product-card__btn--primary:hover {
	background: #cb532a;
	color: #fff;
}

.product-card__btn--primary.disabled {
	opacity: 0.5;
	pointer-events: none;
}

.product-card__btn--secondary {
	flex: 1 1 auto;
	background: #f7f7f7;
	color: #1c2126;
	font-weight: 400;
}

.product-card__btn--secondary:hover {
	background: #ececec;
	color: #1c2126;
}

.product-card__btn--secondary.disabled {
	opacity: 0.5;
	pointer-events: none;
}

.product-card__btn--icon {
	flex: 0 0 40px;
	width: 40px;
	min-width: 40px;
	padding: 11px;
	background: #f7f7f7;
}

.product-card__btn--icon.addWishlist {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9 15.075S2.25 10.8 2.25 6.75A3.375 3.375 0 0 1 9 4.5a3.375 3.375 0 0 1 6.75 2.25c0 4.05-6.75 8.325-6.75 8.325Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.product-card__btn--icon.addCompare {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23888' stroke-linecap='round' stroke-width='1.5' d='M3 14V8M7 14V4M11 14v-6M15 14V6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.product-card__btn--icon.addWishlist.added {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%231c2126' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9 15.075S2.25 10.8 2.25 6.75A3.375 3.375 0 0 1 9 4.5a3.375 3.375 0 0 1 6.75 2.25c0 4.05-6.75 8.325-6.75 8.325Z'/%3E%3C/svg%3E");
}

.product-card__btn--icon.addCompare.added {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%231c2126' stroke-linecap='round' stroke-width='1.5' d='M3 14V8M7 14V4M11 14v-6M15 14V6'/%3E%3C/svg%3E");
}

.product-card__delivery {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
}

.product-card__delivery-label {
	color: #999;
}

.product-card__delivery-date {
	color: #888;
}

.product-card__quantity {
	display: none;
}

.product-card__sku {
	padding: 0 12px 12px;
}

.product-card .rating {
	display: none;
}

.product-card .optional,
.product-card .productTable,
.product-card .addCartContainer,
.product-card .btn-simple {
	display: none;
}


/* Legacy-классы в #related */
#catalogElement #related .product-card .addCart,
#catalogElement #related .product-card .fastBack,
#catalogElement #related .product-card .product-card__btn.addCart,
#catalogElement #related .product-card .product-card__btn.fastBack {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	line-height: 22px;
	padding: 9px 16px;
	margin: 0;
	border-radius: 0;
	position: static;
	width: auto;
	white-space: nowrap;
	text-align: center;
}

#catalogElement #related .product-card .addCart span,
#catalogElement #related .product-card .fastBack span {
	position: static;
	transform: none;
	left: auto;
	top: auto;
	display: inline;
}

#catalogElement #related .product-card .addCart .icon,
#catalogElement #related .product-card .fastBack .icon,
#catalogElement #related .product-card .addCart img,
#catalogElement #related .product-card .fastBack img {
	display: none;
}

@media all and (max-width: 600px) {
	.product-card,
	#related .product-card {
		width: 232px;
		min-width: 232px;
		max-width: 232px;
		height: 354px;
	}

	.product-card__inner,
	.product-card:hover .product-card__inner {
		width: 232px;
	}

	.product-card__hover {
		display: flex;
	}

	.product-card__fast-view {
		display: none;
	}

	.product-card:hover .product-card__inner {
		left: 0;
		transform: none;
		box-shadow: none;
		padding-bottom: 0;
	}
}
