/* ==========================================================================
   FLAMTEES customer-care pages
   ========================================================================== */

body.page-template-page-support {
	background: #f5f8fa;
}

.flamtees-support__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(360px, 48vw, 620px);
	overflow: hidden;
	border-radius: 0 0 28px 28px;
	background:
		radial-gradient(circle at 82% 20%, rgba(142, 203, 196, 0.75), transparent 32%),
		linear-gradient(125deg, #315f80, var(--flamtees-color-primary) 58%, #8ecbc4);
	background-position: center;
	background-size: cover;
}

.flamtees-support__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 23, 33, 0.82) 0%, rgba(10, 23, 33, 0.48) 50%, rgba(10, 23, 33, 0.12) 100%);
}

.flamtees-support__hero-content {
	position: relative;
	z-index: 1;
	padding-block: clamp(58px, 8vw, 100px);
	color: #ffffff;
}

.flamtees-support__eyebrow {
	margin: 0 0 14px;
	font-family: var(--flamtees-font-display) !important;
	font-size: 0.85rem;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.flamtees-support__hero h1 {
	max-width: 780px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.7rem, 7vw, 6rem);
	line-height: 0.95;
}

.flamtees-support__lead {
	max-width: 680px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	line-height: 1.65;
}

.flamtees-support__layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	padding-block: clamp(48px, 7vw, 96px);
}

.flamtees-support__nav {
	position: sticky;
	top: 24px;
	align-self: start;
	overflow: hidden;
	border: 1px solid #dce6ec;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(35, 68, 91, 0.07);
}

.flamtees-support__nav a {
	display: block;
	padding: 15px 18px;
	border-bottom: 1px solid #e5edf2;
	font-weight: 600;
}

.flamtees-support__nav a:last-child {
	border-bottom: 0;
}

.flamtees-support__nav a:hover,
.flamtees-support__nav a:focus-visible {
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

.flamtees-support__content {
	min-width: 0;
}

.flamtees-support__content > h2:first-child {
	margin-top: 0;
}

.flamtees-support__content h2 {
	margin: 52px 0 18px;
	font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.flamtees-support__content h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

.flamtees-support__content p,
.flamtees-support__content li {
	color: #475569;
	font-size: 1rem;
	line-height: 1.75;
}

.flamtees-support__content a {
	color: var(--flamtees-color-primary);
	font-weight: 700;
	text-decoration: underline;
}

.flamtees-support-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 42px;
}

.flamtees-support-card {
	padding: 24px;
	border: 1px solid #dce6ec;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(35, 68, 91, 0.06);
}

.flamtees-support-card p:last-child {
	margin-bottom: 0;
}

.flamtees-support-callout {
	margin: 28px 0;
	padding: 24px 26px;
	border-radius: 16px;
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

.flamtees-support-callout h2,
.flamtees-support-callout h3,
.flamtees-support-callout p,
.flamtees-support-callout a {
	margin-top: 0;
	color: #ffffff;
}

.flamtees-support-steps {
	display: grid;
	gap: 14px;
	margin: 24px 0 40px;
	counter-reset: flamtees-step;
}

.flamtees-support-step {
	position: relative;
	padding: 22px 22px 22px 76px;
	border: 1px solid #dce6ec;
	border-radius: 15px;
	background: #ffffff;
	counter-increment: flamtees-step;
}

.flamtees-support-step::before {
	position: absolute;
	top: 20px;
	left: 20px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--flamtees-color-primary);
	color: #ffffff;
	font-family: var(--flamtees-font-display);
	font-weight: 700;
	content: counter(flamtees-step);
}

.flamtees-support-faq {
	margin: 14px 0;
	overflow: hidden;
	border: 1px solid #dce6ec;
	border-radius: 14px;
	background: #ffffff;
}

.flamtees-support-faq summary {
	display: flex;
	justify-content: space-between;
	padding: 19px 22px;
	list-style: none;
	font-family: var(--flamtees-font-display) !important;
	font-weight: 700 !important;
	cursor: pointer;
}

.flamtees-support-faq summary::-webkit-details-marker {
	display: none;
}

.flamtees-support-faq summary::after {
	color: var(--flamtees-color-primary);
	content: "+";
}

.flamtees-support-faq[open] summary::after {
	content: "−";
}

.flamtees-support-faq > div {
	padding: 0 22px 20px;
}

.flamtees-contact-card {
	padding: clamp(30px, 5vw, 54px);
	border-radius: 22px;
	background: #ffffff;
	text-align: center;
	box-shadow: 0 12px 36px rgba(35, 68, 91, 0.08);
}

.flamtees-contact-card__email {
	display: inline-flex;
	margin-top: 12px;
	padding: 15px 24px;
	border-radius: 12px;
	background: var(--flamtees-color-primary);
	color: #ffffff !important;
	font-family: var(--flamtees-font-display) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.flamtees-reviews-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 24px 0 30px;
	padding: 24px 28px;
	border-radius: 18px;
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

.flamtees-reviews-summary > div {
	display: flex;
	align-items: center;
	gap: 16px;
}

.flamtees-reviews-summary strong {
	font-family: var(--flamtees-font-display) !important;
	font-size: 2.7rem;
	line-height: 1;
}

.flamtees-reviews-summary p {
	margin: 0;
	color: #ffffff;
	font-weight: 600;
}

.flamtees-review-stars {
	color: #ffd166;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
}

.flamtees-reviews-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.flamtees-review-card,
.flamtees-reviews-empty {
	padding: 24px;
	border: 1px solid #dce6ec;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(35, 68, 91, 0.06);
}

.flamtees-review-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.flamtees-review-card__top > div {
	display: flex;
	flex-direction: column;
}

.flamtees-review-card__top time {
	color: #64748b;
	font-size: 0.78rem;
	white-space: nowrap;
}

.flamtees-review-verified {
	margin-top: 3px;
	color: var(--flamtees-color-primary);
	font-size: 0.74rem;
	font-weight: 700;
}

.flamtees-review-card__content p {
	margin: 13px 0;
}

.flamtees-review-card__product {
	display: block;
	max-width: 100%;
	margin-top: 6px;
	overflow-wrap: anywhere;
	word-break: break-word;
	font-size: 0.84rem;
}

.flamtees-review-card {
	min-width: 0;
	overflow: hidden;
}

@media (max-width: 800px) {
	.flamtees-support__layout {
		grid-template-columns: 1fr;
	}

	.flamtees-support__nav {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	.flamtees-support__nav a {
		border-right: 1px solid #e5edf2;
	}
}

@media (max-width: 600px) {
	.flamtees-support__hero {
		min-height: 390px;
		border-radius: 0 0 20px 20px;
	}

	.flamtees-support__overlay {
		background: linear-gradient(0deg, rgba(10, 23, 33, 0.84), rgba(10, 23, 33, 0.25));
	}

	.flamtees-support__layout {
		padding-block: 34px 58px;
	}

	.flamtees-support-grid {
		grid-template-columns: 1fr;
	}

	.flamtees-reviews-grid {
		grid-template-columns: 1fr;
	}

	.flamtees-reviews-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.flamtees-support__nav {
		grid-template-columns: 1fr;
	}

	.flamtees-support-step {
		padding: 68px 18px 20px;
	}
}
