/**
 * FAQ Frontend Styles - Exactly Matching Figma Designs (Desktop & Mobile)
 * Maya and Zake Theme
 */

/* -------------------------------------------------------------
 * 1. SECTION WRAPPER & BACKGROUND
 * ----------------------------------------------------------- */
.mnz-faq-section {
	position: relative;
	width: 100%;
	background-color: #F6E9CA;
	/* Warm parchment background matching best sellers bottom wave */
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}

/* -------------------------------------------------------------
 * 2. TOP WAVY BORDER OVERLAY (Desktop & Mobile)
 * ----------------------------------------------------------- */
.mnz-faq-wave-top {
	position: relative;
	width: 100%;
	margin-top: -1px;
	pointer-events: none;
	overflow: hidden;
	z-index: 2;
	background-color: transparent;
}

/* Hide top wave when following best-sellers on home page */
.home .mnz-faq-wave-top,
.page-template-front-page .mnz-faq-wave-top,
.mnz-homepage-content-wrapper .mnz-faq-wave-top,
.mnz-best-sellers-section~.mnz-faq-section .mnz-faq-wave-top {
	display: none !important;
}

.mnz-faq-wave-top svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mnz-faq-wave-top-desktop {
	display: block;
	height: 140px;
}

.mnz-faq-wave-top-mobile {
	display: none;
	height: 35px;
}

/* -------------------------------------------------------------
 * 3. MAIN FAQ CONTENT CONTAINER (160px Left/Right, 80px Top)
 * ----------------------------------------------------------- */
.mnz-faq-main-wrapper {
	width: 100%;
	padding-top: 80px;
	/* 80px per Figma guide */
	padding-bottom: 90px;
	box-sizing: border-box;
	position: relative;
	z-index: 3;
}

.mnz-faq-container {
	max-width: 100%;
	margin: 0 auto;
	padding-left: 160px;
	padding-right: 160px;
	display: grid;
	grid-template-columns: 36% 1fr;
	gap: 120px;
	align-items: start;
	box-sizing: border-box;
}

/* -------------------------------------------------------------
 * 4. LEFT COLUMN: STYLIZED HEADING
 * ----------------------------------------------------------- */
.mnz-faq-title-col {
	width: 100%;
}

.mnz-faq-main-title {
	font-family: 'Lova Bold', 'Syne', sans-serif;
	color: #EF512B;
	/* Figma signature orange-red */
	display: flex;
	flex-direction: column;
	line-height: 0.92;
	margin: 0;
	letter-spacing: -0.01em;
}

.mnz-faq-title-desktop {
	display: inline;
}

.mnz-faq-title-mobile {
	display: none;
}

.mnz-faq-title-first {
	font-size: 108px;
	display: block;
	line-height: 0.95;
	white-space: nowrap;
}

.mnz-faq-title-second {
	font-size: 200px;
	display: block;
	line-height: 0.9;
	letter-spacing: 0;
	white-space: nowrap;
}

/* -------------------------------------------------------------
 * 5. RIGHT COLUMN: ACCORDION LIST
 * ----------------------------------------------------------- */
.mnz-faq-content-col {
	width: 100%;
}

.mnz-faq-accordion {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.mnz-faq-item {
	border-bottom: 2px dashed #ef512b78;
	/* Delicate terracotta dashed line */
	padding: 40px 0;
	transition: background-color 0.2s ease;
}

.mnz-faq-item:first-child {
	padding-top: 0;
}

.mnz-faq-trigger {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	text-align: left;
	cursor: pointer;
	outline: none;
	font-family: inherit;
}

.mnz-faq-trigger:focus-visible {
	outline: 2px dashed #EF512B;
	outline-offset: 4px;
}

.mnz-faq-question-text {
	color: #221610;
	leading-trim: both;
	text-edge: cap;
	font-family: Geist;
	font-size: 28px;
	font-style: normal;
	font-weight: 500;
	line-height: 36px;
	/* 128.571% */
	letter-spacing: 0.7px;
	transition: color 0.2s ease;
}

.mnz-faq-trigger:hover .mnz-faq-question-text {
	color: #EF512B;
}

/* Indicator Icon (+ / ×) - visible on mobile per screenshot */
.mnz-faq-icon-indicator {
	display: none;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	position: relative;
	align-items: center;
	justify-content: center;
}

.mnz-faq-svg-plus,
.mnz-faq-svg-cross {
	width: 14px;
	height: 14px;
	display: block;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mnz-faq-svg-cross {
	display: none;
}

.mnz-faq-item.is-open .mnz-faq-svg-plus {
	display: none;
}

.mnz-faq-item.is-open .mnz-faq-svg-cross {
	display: block;
}

/* Answer Content */
.mnz-faq-answer-wrap {
	overflow: hidden;
}

.mnz-faq-answer-inner {
	color: #221610;
	leading-trim: both;
	text-edge: cap;
	font-family: Geist;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	/* 166.667% */
	letter-spacing: 0.84px;
}

.mnz-faq-answer-inner p {
	margin: 0 0 10px 0;
}

.mnz-faq-answer-inner p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------
 * 6. BOTTOM ORANGE WAVY BORDER (Exactly 4 Peaks & 3 Troughs)
 * ----------------------------------------------------------- */
.mnz-faq-wave-bottom {
	position: relative;
	width: 100%;
	margin-bottom: -1px;
	pointer-events: none;
	overflow: hidden;
	z-index: 2;
}

.mnz-faq-wave-bottom svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mnz-faq-wave-bottom-desktop {
	display: block;
	height: 75px;
}

.mnz-faq-wave-bottom-mobile {
	display: none;
	height: 15px;
}

/* Seamless connection with Footer: hide redundant footer top wave */
.mnz-faq-section+.mnz-footer-wrapper .mnz-footer-wave-top,
.mnz-homepage-content-wrapper+.mnz-footer-wrapper .mnz-footer-wave-top,
.home .mnz-footer-wave-top {
	display: none !important;
}

/* -------------------------------------------------------------
 * 7. TABLET RESPONSIVE (max-width: 1100px)
 * ----------------------------------------------------------- */
@media screen and (max-width: 1100px) {
	.mnz-faq-container {
		padding-left: 60px;
		padding-right: 60px;
		grid-template-columns: 320px 1fr;
		gap: 40px;
	}

	.mnz-faq-title-first {
		font-size: 42px;
	}

	.mnz-faq-title-second {
		font-size: 76px;
	}
}

/* -------------------------------------------------------------
 * 8. MOBILE RESPONSIVE (max-width: 768px)
 * Exactly matches Screenshot 2 (Mobile)
 * ----------------------------------------------------------- */
@media screen and (max-width: 768px) {
	.mnz-faq-wave-top-desktop {
		display: none;
	}

	.mnz-faq-wave-top-mobile {
		display: block;
	}

	.mnz-faq-wave-bottom-desktop {
		display: none;
	}

	.mnz-faq-wave-bottom-mobile {
		display: block;
	}

	.mnz-faq-main-wrapper {
		padding-top: 40px;
		/* 40px per Figma guide */
		padding-bottom: 50px;
	}

	.mnz-faq-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-left: 20px;
		padding-right: 20px;
		gap: 44px;
		/* 44px gap per Figma guide */
	}

	.mnz-faq-title-col {
		text-align: center;
	}

	.mnz-faq-main-title {
		text-align: center;
		align-items: center;
	}

	.mnz-faq-title-desktop {
		display: none;
	}

	.mnz-faq-title-mobile {
		display: inline;
	}

	.mnz-faq-title-first {
		font-size: 38px;
		line-height: 1;
		white-space: normal;
	}

	.mnz-faq-title-second {
		font-size: 64px;
		line-height: 0.95;
		white-space: normal;
	}

	/* Show indicator icon on mobile */
	.mnz-faq-icon-indicator {
		display: flex;
	}

	.mnz-faq-question-text {
		font-size: 15px;
	}

	.mnz-faq-answer-inner {
		font-size: 13.5px;
		line-height: 1.6;
		max-width: 100%;
	}

	.mnz-faq-item {
		padding: 16px 0;
	}
}