/**
 * Gift Ideas Section Stylesheet
 *
 * Implements the exact 5-column x 2-row design from Figma
 * with stacked "GIFT IDEAS" title, dynamic filter chips,
 * and responsive grid.
 *
 * @package Maya_and_Zake
 */

/* -------------------------------------------------------------
 * 1. SECTION WRAPPER
 * ----------------------------------------------------------- */
.mnz-gift-ideas-section {
	width: 100%;
	background-color: #FEFAF2;
	padding-top: 80px;
	padding-bottom: 80px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

/* -------------------------------------------------------------
 * 2. SECTION TITLE (STACKED "GIFT" & "IDEAS")
 * ----------------------------------------------------------- */
.mnz-gift-header {
	text-align: center;
	margin-bottom: 70px;
	padding: 0 20px;
}

.mnz-gift-title {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	margin: 0px;
}

.mnz-gift-title-line {
	color: #EF512B;
	text-align: center;
	font-family: "Lova Bold";
	font-size: 108px;
	font-style: normal;
	font-weight: 400;
	text-box: trim-both cap alphabetic;
	letter-spacing: -1.62px;
	text-transform: uppercase;
}

.mnz-gift-title-line-bottom {
	color: #EF512B;
	text-align: center;
	font-family: "Lova Bold";
	font-size: 200px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -3px;
	text-transform: uppercase;
	text-box: trim-both cap alphabetic;
}

.mnz-gift-title-line {
	display: block;
}

/* -------------------------------------------------------------
 * 3. FILTER CHIPS
 * ----------------------------------------------------------- */
.mnz-gift-filters-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
	padding: 0 20px;
}

.mnz-gift-filters-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mnz-gift-filter-item {
	margin: 0;
	padding: 0;
}

.mnz-gift-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	border-radius: 6px;
	background-color: transparent;
	border: 1px solid #EDCFC2;
	color: #6F4238;
	font-family: 'Geist', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	outline: none;
	user-select: none;
	transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.15s ease;
}

.mnz-gift-chip:hover {
	background-color: #FAF0EA;
	border-color: #E2BBA9;
	color: #441B14;
}

.mnz-gift-chip.is-active {
	background-color: #F7DCD2;
	border-color: #F0C4B4;
	color: #52241C;
	font-weight: 700;
	cursor: default;
}

/* -------------------------------------------------------------
 * 4. PRODUCT GRID (5 COLUMNS x 2 ROWS)
 * ----------------------------------------------------------- */
.mnz-gift-grid-container {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 0 160px;
	/* 160px on both sides per Figma Image 2 */
	box-sizing: border-box;
}

.mnz-gift-grid-panel {
	display: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	grid-template-columns: repeat(5, 1fr);
	column-gap: 40px;
	/* Exact 40px gap per Figma Image 1 */
	row-gap: 50px;
}

.mnz-gift-grid-panel.is-active {
	display: grid;
	opacity: 1;
	transform: translateY(0);
}

/* -------------------------------------------------------------
 * 5. PRODUCT CARD
 * ----------------------------------------------------------- */
.mnz-gift-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	box-sizing: border-box;
	transition: transform 0.25s ease;
}

/* Card Mockup Image Area */
.mnz-gift-card-img-wrap {
	width: 100%;
	height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	position: relative;
	margin-bottom: 12px;
}

.mnz-gift-card-img-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.mnz-gift-card-img {
	max-width: 100%;
	max-height: 230px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.mnz-gift-card:hover .mnz-gift-card-img {
	transform: translateY(-5px) scale(1.025);
	filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.12));
}

/* Card Details (Title, Price, Actions) */
.mnz-gift-card-info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.mnz-gift-card-title {
	font-family: 'Geist', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: #2B2523;
	margin: 0 0 6px 0;
	text-align: left;
}

.mnz-gift-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.mnz-gift-card-title a:hover {
	color: #EF512B;
}

.mnz-gift-card-price {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #EF512B;
	line-height: 1.2;
	margin-bottom: 14px;
	text-align: left;
}

/* Actions Row (Wishlist Heart + Add to Cart) */
.mnz-gift-card-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
}

/* Wishlist Button */
.mnz-gift-wishlist-btn {
	width: 44px;
	height: 42px;
	min-width: 44px;
	background-color: transparent;
	border: 1.5px solid #F8C8B5;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	outline: none;
	transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}

.mnz-gift-wishlist-btn:hover {
	background-color: #FCECE5;
	border-color: #F5A98F;
	transform: scale(1.05);
}

.mnz-gift-wishlist-btn:active {
	transform: scale(0.95);
}

.mnz-gift-heart-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: fill 0.2s ease, stroke 0.2s ease;
}

.mnz-gift-wishlist-btn.is-active {
	background-color: #FCECE5;
	border-color: #EF512B;
}

.mnz-gift-wishlist-btn.is-active .mnz-gift-heart-icon path {
	fill: #EF512B;
	stroke: #EF512B;
}

/* Add to Cart Button */
.mnz-gift-add-btn {
	flex: 1 1 auto;
	height: 42px;
	background-color: #FAD9CD;
	border: none;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #EF512B;
	font-family: 'Geist', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	cursor: pointer;
	padding: 0 16px;
	box-sizing: border-box;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.15s ease, box-shadow 0.22s ease;
}

.mnz-gift-add-btn:hover {
	background-color: #EF512B;
	color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(239, 81, 43, 0.25);
	transform: translateY(-1px);
}

.mnz-gift-add-btn:hover svg path,
.mnz-gift-add-btn:hover svg line {
	stroke: #FFFFFF;
}

.mnz-gift-bag-icon {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

.mnz-gift-bag-icon path,
.mnz-gift-bag-icon line {
	transition: stroke 0.22s ease;
}

.mnz-gift-add-text {
	line-height: 1;
}

/* -------------------------------------------------------------
 * 6. BOTTOM "SEE MORE GIFT IDEAS" BUTTON
 * ----------------------------------------------------------- */
.mnz-gift-more-wrap {
	margin-top: 60px;
	/* 60px gap above button per Figma Image 2 */
	text-align: center;
	width: 100%;
}

.mnz-gift-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 42px;
	background-color: #FDF1EB;
	border: 1.5px solid #FAD5C5;
	border-radius: 8px;
	color: #EF512B;
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(239, 81, 43, 0.06);
	transition: all 0.25s ease;
}

.mnz-gift-more-btn:hover {
	background-color: #EF512B;
	border-color: #EF512B;
	color: #FFFFFF;
	box-shadow: 0 8px 24px rgba(239, 81, 43, 0.25);
	transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 7. RESPONSIVE BREAKPOINTS
 * ----------------------------------------------------------- */
@media (max-width: 1680px) {
	.mnz-gift-grid-container {
		padding: 0 100px;
	}

	.mnz-gift-grid-panel {
		column-gap: 30px;
	}
}

@media (max-width: 1440px) {
	.mnz-gift-title {
		font-size: 110px;
	}

	.mnz-gift-grid-container {
		padding: 0 60px;
	}

	.mnz-gift-grid-panel {
		column-gap: 24px;
		row-gap: 40px;
	}

	.mnz-gift-card-img-wrap {
		height: 210px;
	}

	.mnz-gift-card-img {
		max-height: 200px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.mnz-gift-ideas-section {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.mnz-gift-title {
		gap: 14px;
	}

	.mnz-gift-title-line {
		color: #EF512B;
		text-align: center;
		font-family: "Lova Bold";
		font-size: 100px;
		font-style: normal;
		font-weight: 400;
		line-height: 1;
		text-box: trim-both cap alphabetic;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	.mnz-gift-title-line-bottom {
		color: #EF512B;
		text-align: center;
		font-family: "Lova Bold";
		font-size: 240px;
		font-style: normal;
		font-weight: 400;
		line-height: 1;
		text-box: trim-both cap alphabetic;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	.mnz-gift-header {
		text-align: center;
		margin-bottom: 26px;
		padding: 0 20px;
	}

	.mnz-gift-grid-container {
		padding: 0 40px;
	}


	.mnz-gift-ideas-section {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.mnz-gift-title {
		font-size: 72px;
	}

	.mnz-gift-filters-wrapper {
		margin-bottom: 36px;
	}

	.mnz-gift-chip {
		font-size: 13px;
		padding: 6px 14px;
	}

	.mnz-gift-grid-container {
		padding: 0 20px;
	}

	.mnz-gift-grid-panel {
		grid-template-columns: repeat(5, 1fr);
		column-gap: 16px;
		row-gap: 36px;
	}

	.mnz-gift-card-img-wrap {
		height: 170px;
	}

	.mnz-gift-card-img {
		max-height: 160px;
	}

	.mnz-gift-card-title {
		font-size: 14px;
	}

	.mnz-gift-card-price {
		font-size: 18px;
	}

	.mnz-gift-more-wrap {
		margin-top: 40px;
	}

	.mnz-gift-more-btn {
		font-size: 14px;
		padding: 14px 28px;
	}
}

@media (max-width: 767px) {
	.mnz-gift-ideas-section {
		padding-top: 40px 24px;
	}

	.mnz-gift-title {
		gap: 12px;
	}

	.mnz-gift-title-line {
		color: #EF512B;
		text-align: center;
		font-family: "Lova Bold";
		font-size: 52px;
		font-style: normal;
		font-weight: 400;
		text-box: trim-both cap alphabetic;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	.mnz-gift-title-line-bottom {
		color: #EF512B;
		text-align: center;
		font-family: "Lova Bold";
		font-size: 96px;
		font-style: normal;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: uppercase;
		text-box: trim-both cap alphabetic;
	}

	.mnz-gift-grid-container {
		padding: 0 16px;
	}

	.mnz-gift-header {
		text-align: center;
		margin-bottom: 24px;

	}

	.mnz-gift-grid-panel {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 28px;
		column-gap: 24px;
	}

	.mnz-gift-card-img-wrap {
		height: 180px;
	}

	.mnz-gift-card-img {
		max-height: 180px;
	}

	/* Mobile: show only first 4 product cards per panel */
	.mnz-gift-grid-panel .mnz-gift-card:nth-child(n+5) {
		display: none;
	}
}