/* =========================================================
   GPN — ARTISTIC PRODUCT SHOWCASE
========================================================= */

.gpn-picks {
	position: relative;

	padding: 125px 0 135px;

	overflow: hidden;

	background: #f7f5ed;

	color: #173a20;
}


/* =========================================================
   HEADER
========================================================= */

.gpn-picks-header {
	display: grid;

	grid-template-columns: 1fr 1fr;

	align-items: end;

	gap: 60px;

	margin-bottom: 60px;
}


.gpn-picks-header h2 {
	margin: 18px 0 0;

	color: #173a20;

	font-family:
		Georgia,
		"Times New Roman",
		serif;

	font-size: clamp(55px, 7vw, 88px);

	font-weight: 400;

	line-height: .9;

	letter-spacing: -3px;
}


.gpn-picks-header h2 em {
	color: #78915f;

	font-style: italic;
}


.gpn-picks-intro {
	display: flex;

	flex-direction: column;

	align-items: flex-end;
}


.gpn-picks-intro p {
	max-width: 390px;

	margin: 0 0 25px;

	color: rgba(23,58,32,.62);

	font-size: 14px;

	line-height: 1.8;

	text-align: right;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.gpn-products-grid {
	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap: 20px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.gpn-product-card {
	position: relative;

	min-width: 0;
}


/* =========================================================
   PRODUCT MEDIA
========================================================= */

.gpn-product-media {
	position: relative;

	aspect-ratio: .82;

	overflow: hidden;

	background: #e6e4da;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.gpn-product-image-link {
	position: absolute;

	inset: 0;

	display: block;

	overflow: hidden;
}


.gpn-product-image {
	width: 100%;
	height: 100%;

	display: block;

	object-fit: cover;

	transition:
		opacity .65s ease,
		transform 1s cubic-bezier(.2,.6,.2,1);
}


/*
 * Primary image.
 */

.gpn-product-image-primary {
	position: relative;

	z-index: 1;
}


/*
 * Secondary image.
 */

.gpn-product-image-secondary {
	position: absolute;

	inset: 0;

	z-index: 2;

	opacity: 0;
}


/*
 * Image hover swap.
 */

.gpn-product-card:hover
.gpn-product-image-secondary {
	opacity: 1;
}


.gpn-product-card:hover
.gpn-product-image-primary {
	transform: scale(1.045);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.gpn-product-placeholder {
	position: absolute;

	inset: 0;

	display: flex;

	align-items: center;

	justify-content: center;

	background: #e2e0d4;

	color: #a68a43;

	font-family:
		Georgia,
		"Times New Roman",
		serif;

	font-size: 30px;
}


/* =========================================================
   BADGE
========================================================= */

.gpn-product-badge {
	position: absolute;

	top: 17px;
	left: 17px;

	z-index: 5;

	padding: 8px 11px;

	color: #173a20;

	background: rgba(247,245,237,.92);

	backdrop-filter: blur(6px);

	font-size: 8px;

	font-weight: 800;

	letter-spacing: 1.5px;

	text-transform: uppercase;
}


/* =========================================================
   WISHLIST
========================================================= */

.gpn-product-wishlist {
	position: absolute;

	top: 14px;
	right: 14px;

	z-index: 6;

	width: 40px;
	height: 40px;

	display: flex;

	align-items: center;
	justify-content: center;

	padding: 0;

	color: #fff;

	background: rgba(15,40,20,.35);

	backdrop-filter: blur(8px);

	border: 1px solid rgba(255,255,255,.25);

	border-radius: 50%;

	cursor: pointer;

	transition:
		background .3s ease,
		color .3s ease,
		transform .3s ease;
}


.gpn-product-wishlist:hover {
	color: #173a20;

	background: #dfb653;

	transform: scale(1.06);
}


.gpn-product-wishlist svg {
	width: 17px;
	height: 17px;

	fill: none;

	stroke: currentColor;

	stroke-width: 1.5;

	stroke-linecap: round;

	stroke-linejoin: round;
}


/* =========================================================
   QUICK ACTION
========================================================= */

.gpn-product-quick {
	position: absolute;

	left: 14px;
	right: 14px;
	bottom: 14px;

	z-index: 7;

	opacity: 0;

	transform: translateY(8px);

	transition:
		opacity .35s ease,
		transform .35s ease;
}


.gpn-product-card:hover
.gpn-product-quick {
	opacity: 1;

	transform: translateY(0);
}


.gpn-product-quick a {
	display: flex;

	align-items: center;

	justify-content: center;

	width: 100%;

	height: 44px;

	color: #173a20;

	background: rgba(255,255,255,.94);

	backdrop-filter: blur(10px);

	font-size: 10px;

	font-weight: 800;

	letter-spacing: 1.2px;

	text-transform: uppercase;

	text-decoration: none;
}


.gpn-product-quick a:hover {
	color: #173a20;

	background: #dfb653;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.gpn-product-info {
	padding: 18px 2px 0;
}


/* =========================================================
   META
========================================================= */

.gpn-product-meta {
	display: flex;

	align-items: center;

	justify-content: space-between;

	gap: 10px;
}


.gpn-product-category {
	max-width: 85%;

	overflow: hidden;

	color: #9b7b31;

	font-size: 8px;

	font-weight: 800;

	letter-spacing: 1.7px;

	text-overflow: ellipsis;

	text-transform: uppercase;

	white-space: nowrap;
}


.gpn-product-number {
	color: rgba(23,58,32,.35);

	font-size: 9px;

	font-weight: 700;

	letter-spacing: 1px;
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.gpn-product-title {
	margin: 9px 0 0;

	font-family:
		Georgia,
		"Times New Roman",
		serif;

	font-size: 22px;

	font-weight: 400;

	line-height: 1.15;
}


.gpn-product-title a {
	color: #173a20;

	text-decoration: none;

	transition: color .3s ease;
}


.gpn-product-title a:hover {
	color: #a67c22;
}


/* =========================================================
   PRODUCT BOTTOM
========================================================= */

.gpn-product-bottom {
	display: flex;

	align-items: center;

	justify-content: space-between;

	gap: 15px;

	margin-top: 13px;
}


/* =========================================================
   PRICE
========================================================= */

.gpn-product-price {
	color: #405942;

	font-size: 13px;

	font-weight: 600;
}


.gpn-product-price del {
	color: rgba(23,58,32,.4);
}


.gpn-product-price ins {
	color: #173a20;

	text-decoration: none;
}


/* =========================================================
   PRODUCT ARROW
========================================================= */

.gpn-product-arrow {
	width: 34px;
	height: 34px;

	flex-shrink: 0;

	display: flex;

	align-items: center;
	justify-content: center;

	color: #173a20;

	border: 1px solid rgba(23,58,32,.25);

	border-radius: 50%;

	text-decoration: none;

	transition:
		color .3s ease,
		background .3s ease,
		border-color .3s ease,
		transform .3s ease;
}


.gpn-product-arrow:hover {
	color: #173a20;

	background: #dfb653;

	border-color: #dfb653;

	transform: rotate(8deg);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.gpn-products-empty {
	display: flex;

	flex-direction: column;

	align-items: center;

	justify-content: center;

	min-height: 400px;

	padding: 50px;

	text-align: center;

	border: 1px solid rgba(23,58,32,.12);
}


.gpn-products-empty-symbol {
	color: #c29b3b;

	font-size: 26px;
}


.gpn-products-empty h3 {
	margin: 18px 0 8px;

	color: #173a20;

	font-family:
		Georgia,
		"Times New Roman",
		serif;

	font-size: 30px;

	font-weight: 400;
}


.gpn-products-empty p {
	margin: 0 0 25px;

	color: rgba(23,58,32,.6);

	font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

	.gpn-products-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		gap: 35px 20px;
	}

}


@media (max-width: 800px) {

	.gpn-picks {
		padding: 95px 0 105px;
	}


	.gpn-picks-header {
		grid-template-columns: 1fr;

		gap: 25px;

		margin-bottom: 45px;
	}


	.gpn-picks-intro {
		align-items: flex-start;
	}


	.gpn-picks-intro p {
		margin-bottom: 20px;

		text-align: left;
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

	.gpn-picks {
		padding: 75px 0 85px;
	}


	.gpn-products-grid {
		grid-template-columns: 1fr 1fr;

		gap: 30px 12px;
	}


	.gpn-picks-header h2 {
		font-size: 53px;
	}


	.gpn-product-media {
		aspect-ratio: .78;
	}


	.gpn-product-badge {
		top: 9px;
		left: 9px;

		padding: 6px 7px;

		font-size: 6px;
	}


	.gpn-product-wishlist {
		top: 8px;
		right: 8px;

		width: 34px;
		height: 34px;
	}


	.gpn-product-wishlist svg {
		width: 15px;
		height: 15px;
	}


	/*
	 * Keep quick action visible enough
	 * on touch devices.
	 */

	.gpn-product-quick {
		display: none;
	}


	.gpn-product-info {
		padding-top: 13px;
	}


	.gpn-product-title {
		font-size: 17px;
	}


	.gpn-product-price {
		font-size: 11px;
	}


	.gpn-product-arrow {
		width: 30px;
		height: 30px;

		font-size: 12px;
	}

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.gpn-product-image,
	.gpn-product-wishlist,
	.gpn-product-arrow,
	.gpn-product-quick,
	.gpn-product-quick a {
		transition: none;
	}

}