/* Product cards — shared by the home grid, shop/category grids and related products.
   Loaded after home-page-custom.css / shop-custom.css; selectors are doubled up so this wins
   without touching those files. */

/* ---- card shell ---- */
html body ul.products.products li.product.product {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	background: #fff;
	border: 1px solid #eee7dc;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(26, 26, 26, 0.03);
	text-align: center;
	transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
@media (hover: hover) {
	html body ul.products.products li.product.product:hover {
		transform: translateY(-6px);
		border-color: #e2d5bd;
		box-shadow: 0 26px 48px -14px rgba(26, 26, 26, 0.18);
	}
}

/* ---- image ---- */
html body ul.products.products li.product.product a.woocommerce-loop-product__link {
	aspect-ratio: 1 / 1;
	background: #f3efe8;
}
html body ul.products.products li.product.product a.woocommerce-loop-product__link img:not(.noirmusk-hover-img) {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

/* ---- text ---- */
html body ul.products.products li.product.product .noirmusk-product-card__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	padding: 24px 22px 24px;
}
html body ul.products.products li.product.product .noirmusk-product-card__content > a {
	display: block;
	max-width: 100%;
	text-decoration: none;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .woocommerce-loop-product__title.woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--theme-heading-font-family);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #1a1a1a;
	transition: color 0.25s ease;
}
html body ul.products.products li.product.product .noirmusk-product-card__content > a:hover .woocommerce-loop-product__title {
	color: #a3703f;
}
/* short gold rule between the name and the price */
html body ul.products.products li.product.product .noirmusk-product-card__content .woocommerce-loop-product__title::after {
	content: '';
	display: block;
	width: 34px;
	height: 1px;
	margin: 14px auto 0;
	background: #d8c29b;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .price.price {
	display: block;
	margin: 14px 0 20px;
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: #1a1a1a;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .price.price .woocommerce-Price-amount,
html body ul.products.products li.product.product .noirmusk-product-card__content .price.price .woocommerce-Price-currencySymbol {
	font-family: var(--theme-body-font-family), 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .price.price del {
	margin-right: 6px;
	color: #9a948a;
	font-weight: 400;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .price.price ins {
	background: none;
	text-decoration: none;
}
html body ul.products.products li.product.product .noirmusk-product-card__content .star-rating {
	margin: -6px auto 14px;
}

/* ---- add to cart: full width of the card ---- */
html body ul.products.products li.product.product a.la-addcart.noirmusk-atc.button {
	align-self: stretch;
	width: 100%;
	min-width: 0;
	margin-top: auto;
}

@media (max-width: 480px) {
	html body ul.products.products li.product.product .noirmusk-product-card__content {
		padding: 20px 18px 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html body ul.products.products li.product.product,
	html body ul.products.products li.product.product:hover {
		transition: none;
		transform: none;
	}
}
