/**
 * =========================================================
 * FSN STOREFRONT PRODUCT GRID
 * =========================================================
 */

.fsn-store-products {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
	width: calc(100% - 160px);
	max-width: 1600px;
	margin: 40px auto 0;
	box-sizing: border-box;
}


/**
 * =========================================================
 * PRODUCT CARD
 * =========================================================
 */

.fsn-store-product {
	min-width: 0;
}

.fsn-store-product-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.fsn-store-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f5f5;
	border: 1px solid #eeeeee;
	box-sizing: border-box;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.fsn-store-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0;
}

.fsn-store-product-link:hover .fsn-store-product-image {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/**
 * =========================================================
 * PRODUCT NAME
 * =========================================================
 */

.fsn-store-product-name {
	margin: 16px 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.fsn-store-product-link:hover .fsn-store-product-name {
	text-decoration: underline;
	text-decoration-color: #d4af19;
	text-underline-offset: 4px;
}


/**
 * =========================================================
 * PRODUCT PRICE
 * =========================================================
 */

.fsn-store-product-price {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.fsn-store-product-price del {
	margin-right: 6px;
	color: #777777;
	font-weight: 400;
}

.fsn-store-product-price ins {
	color: #b89400;
	font-weight: 700;
	text-decoration: none;
}


/**
 * =========================================================
 * TABLET
 * =========================================================
 */

@media (max-width: 1000px) {

	.fsn-store-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: calc(100% - 48px);
	}
}


/**
 * =========================================================
 * MOBILE
 * =========================================================
 */

@media (max-width: 600px) {

	.fsn-store-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		width: calc(100% - 32px);
	}

	.fsn-store-product-name {
		font-size: 17px;
	}
}