.mekom-product-block {
	margin: 40px 0;
}

.mekom-product-block__title {
	position: relative;
	margin: 0 0 28px;
	padding-bottom: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.mekom-product-block__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	background: #d81f1f;
}

.mekom-product-grid {
	display: grid;
	grid-template-columns: repeat( 1, 1fr );
	gap: 28px 20px;
}

@media ( min-width: 560px ) {
	.mekom-product-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( min-width: 900px ) {
	.mekom-product-grid {
		grid-template-columns: repeat( var( --mekom-product-columns, 3 ), 1fr );
		gap: 36px 24px;
	}
}

.mekom-product-card {
	display: flex;
	flex-direction: column;
}

.mekom-product-card__photo {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 0 0 14px;
	padding: 0;
	border: 1px solid #e8e2d8;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

button.mekom-product-card__photo {
	font: inherit;
}

.mekom-product-card__photo:hover,
.mekom-product-card__photo:focus-visible {
	border-color: #d81f1f;
}

.mekom-product-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mekom-product-card__photo:hover .mekom-product-card__img,
.mekom-product-card__photo:focus-visible .mekom-product-card__img {
	transform: scale( 1.05 );
}

.mekom-product-card__zoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.92 );
	color: #1a1a1a;
	opacity: 0;
	transform: translateY( 4px );
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mekom-product-card__photo:hover .mekom-product-card__zoom,
.mekom-product-card__photo:focus-visible .mekom-product-card__zoom {
	opacity: 1;
	transform: translateY( 0 );
}

.mekom-product-card__count {
	position: absolute;
	left: 10px;
	top: 10px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba( 26, 26, 26, 0.65 );
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.mekom-product-card__photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f1ec;
	border-style: dashed;
	cursor: default;
}

.mekom-product-card__photo-placeholder {
	font-size: 12px;
	color: #9a9a9a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mekom-product-card__badge {
	position: absolute;
	right: 10px;
	top: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #d81f1f;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.mekom-product-card__name {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: #b8281f;
}

.mekom-product-card__mechanism {
	margin: 0 0 10px;
	font-size: 13px;
	color: #6b6b6b;
}

.mekom-product-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
}

.mekom-product-card__price-old {
	font-size: 13px;
	font-weight: 400;
	color: #9a9a9a;
	text-decoration: line-through;
}

.mekom-product-card__specs {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: auto 0 0;
	padding: 10px 0 0;
	border-top: 1px solid #e8e2d8;
	list-style: none;
}

.mekom-product-card__specs li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

.mekom-product-card__specs li span:first-child {
	color: #6b6b6b;
}

.mekom-product-card__specs li span:last-child {
	font-weight: 500;
	white-space: nowrap;
}

@media ( prefers-reduced-motion: reduce ) {
	.mekom-product-card__img,
	.mekom-product-card__zoom {
		transition: none;
	}
}
