.ss-product-card {
	position: relative;
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgb(52 37 31 / 7%);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 12px rgb(48 31 23 / 3%);
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .35s cubic-bezier(.22, 1, .36, 1);
}

.ss-product-card:hover {
	transform: translateY(-5px);
	border-color: rgb(214 168 79 / 46%);
	box-shadow: 0 18px 38px rgb(48 31 23 / 9%);
}

.ss-product-card__image {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: radial-gradient(circle at 50% 45%, #fcfaf6 0%, #f4ede0 100%);
	aspect-ratio: 1 / 1;
}

.ss-product-card__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 65%, rgb(52 37 31 / 4%) 100%);
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
	content: '';
}

.ss-product-card:hover .ss-product-card__image::after {
	opacity: 1;
}

.ss-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	padding: clamp(12px, 1.5vw, 20px);
	object-fit: contain;
	filter: drop-shadow(0 8px 14px rgb(52 37 31 / 9%));
	transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .4s ease;
	will-change: transform;
}

.ss-product-card:hover .ss-product-card__image img {
	transform: scale(1.055);
	filter: drop-shadow(0 12px 22px rgb(52 37 31 / 14%));
}

.ss-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgb(122 31 43 / 92%);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ss-product-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 17px 17px;
}

.ss-product-card__content h3 {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0 0 6px;
	overflow: hidden;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ss-product-card__content h3 a {
	color: #2b1e19;
	text-decoration: none;
	transition: color .25s ease;
}

.ss-product-card__content h3 a:hover,
.ss-product-card__content h3 a:focus-visible {
	color: var(--ss-color-primary, #7a1f2b);
}

.ss-product-card__price {
	min-height: 22px;
	margin: auto 0 15px;
	color: var(--ss-color-primary, #7a1f2b);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.5;
}

.ss-product-card__price del {
	margin-right: 6px;
	color: #a09285;
	font-size: 12px;
	font-weight: 500;
}

.ss-product-card__price ins {
	text-decoration: none;
}

.ss-product-card__button {
	display: flex;
	width: 100%;
	min-height: 41px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 9px 7px 14px;
	border: 1px solid rgb(122 31 43 / 15%);
	border-radius: 10px;
	background: #faf5ec;
	color: #4a1920 !important;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}

.ss-product-card:hover .ss-product-card__button,
.ss-product-card__button:focus-visible {
	border-color: var(--ss-color-primary, #7a1f2b);
	background: var(--ss-color-primary, #7a1f2b);
	color: #fff !important;
}

.ss-product-card__button:hover {
	border-color: var(--ss-color-primary-dark, #54131d);
	background: var(--ss-color-primary-dark, #54131d);
	color: #fff !important;
}

.ss-product-card__button.loading {
	opacity: .7;
	pointer-events: none;
}

.ss-product-card__button.added {
	border-color: #71824a;
	background: #eef3e6;
	color: #36431e !important;
}

.ss-product-card__button-icon {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgb(122 31 43 / 9%);
	color: var(--ss-color-primary, #7a1f2b);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.ss-product-card:hover .ss-product-card__button-icon,
.ss-product-card__button:hover .ss-product-card__button-icon,
.ss-product-card__button:focus-visible .ss-product-card__button-icon {
	background: rgb(255 255 255 / 18%);
	color: #fff;
}

.ss-product-card__button:hover .ss-product-card__button-icon {
	transform: scale(1.08);
}

.ss-product-card__button.added .ss-product-card__button-icon {
	background: #71824a;
	color: #fff;
}

@media (max-width: 767px) {
	.ss-product-card {
		border-radius: 13px;
	}
	.ss-product-card__image img {
		padding: 10px;
	}
	.ss-product-card__content {
		padding: 12px 11px 12px;
	}
	.ss-product-card__content h3 {
		font-size: 12.5px;
	}
	.ss-product-card__price {
		margin-bottom: 11px;
		font-size: 12.5px;
	}
	.ss-product-card__price del {
		font-size: 10.5px;
	}
	.ss-product-card__button {
		min-height: 36px;
		padding: 6px 8px 6px 10px;
		border-radius: 8px;
		font-size: 10.5px;
	}
	.ss-product-card__button-icon {
		width: 21px;
		height: 21px;
		flex-basis: 21px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ss-product-card,
	.ss-product-card__image::after,
	.ss-product-card__image img,
	.ss-product-card__content h3 a,
	.ss-product-card__button,
	.ss-product-card__button-icon {
		transition: none;
	}
	.ss-product-card:hover,
	.ss-product-card:hover .ss-product-card__image img,
	.ss-product-card__button:hover .ss-product-card__button-icon {
		transform: none;
	}
}
