.product-card,
.home-product-grid article {
	position: relative;
	padding: 1px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: transparent;
	transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1), background-color .35s ease;
}

.product-card::before,
.home-product-grid article::before {
	content: "";
	position: absolute;
	z-index: 6;
	inset: -1px;
	border: 1px solid #c8952d;
	border-radius: 13px;
	clip-path: polygon(0 0,0 0,0 0,0 0);
	opacity: 0;
	pointer-events: none;
}

.product-card__visual,
.home-product-image {
	position: relative;
	z-index: 7;
	pointer-events: auto !important;
	overflow: hidden;
	border-radius: 11px;
	isolation: isolate;
}

.product-card__copy,
.product-card__copy h3,
.product-card__copy h3 a,
.home-product-grid h3,
.home-product-grid h3 a {
	position: relative;
	z-index: 7;
	pointer-events: auto !important;
}

.home-product-image {
	display: block;
	aspect-ratio: 4 / 5;
	background: #e8e2d8;
}

.product-card__visual img,
.home-product-image img {
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform .85s cubic-bezier(.16,1,.3,1), filter .6s ease;
}

.product-card__visual::after,
.home-product-image::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: -35% auto -35% -55%;
	width: 32%;
	background: linear-gradient(105deg,transparent,#ffffff0d 25%,#fff7d959 50%,#ffffff10 75%,transparent);
	transform: skewX(-16deg);
	transition: left .9s cubic-bezier(.16,1,.3,1);
	pointer-events: none;
}

.home-product-arrow {
	position: absolute;
	z-index: 3;
	right: 14px;
	bottom: 14px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid #ffffff70;
	border-radius: 50%;
	background: #fffdf8e8;
	color: var(--ink);
	transition: transform .45s cubic-bezier(.16,1,.3,1), background .3s;
}

.product-card__buy-label {
	position: absolute;
	z-index: 4;
	right: 66px;
	bottom: 14px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 0 17px;
	border: 1px solid #e6c97e;
	border-radius: 999px;
	background: #fffdf0ed;
	color: var(--ink);
	box-shadow: 0 8px 24px #2b1b0d22;
	backdrop-filter: blur(10px);
	font-size: .67rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: 1;
	transform: none;
	transition: opacity .32s, transform .48s cubic-bezier(.16,1,.3,1), background-color .3s, box-shadow .3s;
	animation: productBuyGlow 1.65s ease-in-out infinite;
}

.product-card__buy-label>span { font-size: .95rem; transition: transform .35s; }

@keyframes productBuyGlow {
	0%,100% { filter: brightness(.96); box-shadow: 0 7px 20px #2b1b0d20, 0 0 6px #e1ae3847; }
	50% { filter: brightness(1.14); box-shadow: 0 10px 28px #9d681d4a, 0 0 22px #edbd4d9c; }
}

.product-card__copy,
.home-product-grid article > :not(.home-product-image) {
	transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.product-card__copy,
.home-product-grid article > p,
.home-product-grid article > h3,
.home-product-grid article > small,
.home-product-grid article > strong {
	margin-right: 12px;
	margin-left: 12px;
}

.product-card__copy{padding-top:22px}
.home-product-grid article>.home-product-image+ p,.home-product-grid article>.home-product-image+ h3{margin-top:1.35rem}

.product-card__copy {
	margin-top: 14px;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
	.product-card__buy-label {
		opacity: 0;
		transform: translateX(18px) scale(.9);
		animation-play-state: paused;
	}

	.product-card:hover,
	.product-card:focus-within,
	.home-product-grid article:hover,
	.home-product-grid article:focus-within {
		transform: translateY(-9px);
		background: #fffdf8;
		animation: productCardGoldShadow .8s cubic-bezier(.16,1,.3,1) forwards;
	}

	.product-card:hover::before,
	.product-card:focus-within::before,
	.home-product-grid article:hover::before,
	.home-product-grid article:focus-within::before {
		opacity: 1;
		animation: productCardBorderDraw .72s cubic-bezier(.16,1,.3,1) forwards;
	}

	.product-card:hover .product-card__buy-label,
	.product-card:focus-within .product-card__buy-label,
	.home-product-grid article:hover .product-card__buy-label,
	.home-product-grid article:focus-within .product-card__buy-label {
		opacity: 1;
		transform: none;
		background: #efc459f2;
		box-shadow: 0 10px 28px #a66e1647,0 0 18px #e7b94654;
		animation-play-state: running;
	}

	.product-card:hover .product-card__buy-label>span,
	.home-product-grid article:hover .product-card__buy-label>span {
		transform: translateX(3px);
	}

	.product-card:hover .product-card__visual img,
	.home-product-grid article:hover .home-product-image img {
		transform: scale(1.065);
		filter: saturate(1.04) contrast(1.025);
	}

	.product-card:hover .product-card__visual::after,
	.home-product-grid article:hover .home-product-image::after {
		left: 125%;
	}

	.product-card:hover .product-card__copy,
	.home-product-grid article:hover > :not(.home-product-image) {
		transform: translateY(-2px);
	}

	.product-card:hover .product-card__arrow,
	.home-product-grid article:hover .home-product-arrow {
		transform: translate(2px,-2px) rotate(8deg);
		background: var(--gold);
	}

	@keyframes productCardBorderDraw {
		0% { clip-path: polygon(0 0,0 0,0 0,0 0); }
		35% { clip-path: polygon(0 0,100% 0,100% 0,0 0); }
		65% { clip-path: polygon(0 0,100% 0,100% 100%,100% 100%); }
		100% { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
	}

	@keyframes productCardGoldShadow {
		0% { box-shadow: 0 8px 22px #2d1e100a,0 0 0 #c8942c00; }
		55% { box-shadow: 0 24px 58px #7d501e30,0 0 30px #d8a53b30; }
		100% { box-shadow: 0 28px 68px #6d441b38,0 0 38px #d6a23a3d,0 0 0 1px #e2bd6852; }
	}
}

@media (prefers-reduced-motion:reduce) {
	.product-card,
	.home-product-grid article,
	.product-card__visual img,
	.home-product-image img,
	.product-card__copy,
	.home-product-grid article > :not(.home-product-image),
	.product-card__arrow,
	.home-product-arrow,
	.product-card__buy-label {
		transition: none;
		animation: none;
	}

	.product-card:hover::before,
	.product-card:focus-within::before,
	.home-product-grid article:hover::before,
	.home-product-grid article:focus-within::before {
		clip-path: none;
		opacity: 1;
	}

	.product-card__visual::after,
	.home-product-image::after {
		display: none;
	}
}
