/**
 * Site FAQ section — modern accordion (pages, shop, home)
 */

.kr-site-faq {
	padding: 56px 20px;
	background: linear-gradient(180deg, #faf9f7 0%, #fff 100%);
	position: relative;
}

.kr-site-faq::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 119, 34, 0.2), transparent);
}

.kr-site-faq__inner {
	max-width: 880px;
	margin: 0 auto;
}

.kr-site-faq__head {
	text-align: center;
	margin-bottom: 32px;
}

.kr-site-faq .kr-section-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kr-saffron, #ff7722);
	margin-bottom: 8px;
}

.kr-site-faq__head h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--kr-text, #1a1a1a);
}

.kr-site-faq__head h2::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, var(--kr-saffron, #ff7722), var(--kr-forest-bright, #228b22));
	border-radius: 2px;
	margin: 10px auto 0;
}

.kr-site-faq__sub {
	margin: 12px auto 0;
	max-width: 560px;
	color: var(--kr-text-muted, #6b7280);
	line-height: 1.6;
	font-size: 0.9375rem;
}

.kr-site-faq__list {
	margin: 0;
}

/* Accordion (shared with PDP FAQ pattern) */
.kr-site-faq .kr-pdp-faq__item {
	border: 1px solid var(--kr-border-light, #f0ece4);
	border-radius: var(--kr-btn-radius, 6px);
	margin-bottom: 10px;
	overflow: hidden;
	background: #fff;
}

.kr-site-faq .kr-pdp-faq__item:last-child {
	margin-bottom: 0;
}

.kr-site-faq .kr-pdp-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	list-style: none;
	background: var(--kr-cream, #faf8f4);
	transition: background 0.15s ease;
}

.kr-site-faq .kr-pdp-faq__q::-webkit-details-marker {
	display: none;
}

.kr-site-faq .kr-pdp-faq__q-text {
	flex: 1;
	min-width: 0;
}

.kr-site-faq .kr-pdp-faq__q-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--kr-border, #e8e2d8);
	color: var(--kr-saffron, #ff7722);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.kr-site-faq .kr-pdp-faq__item:not([open]) .kr-pdp-faq__q-icon::before {
	content: '+';
}

.kr-site-faq .kr-pdp-faq__item[open] .kr-pdp-faq__q-icon::before {
	content: '−';
}

.kr-site-faq .kr-pdp-faq__item[open] .kr-pdp-faq__q {
	background: #fff;
	border-bottom: 1px solid var(--kr-border-light, #f0ece4);
}

.kr-site-faq .kr-pdp-faq__a {
	padding: 14px 18px 16px;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--kr-text-mid, #4a4a4a);
	background: #fff;
}

.kr-site-faq .kr-pdp-faq__a p {
	margin: 0;
}

.kr-site-faq__item {
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.kr-site-faq__item:hover {
	border-color: rgba(255, 119, 34, 0.35);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.kr-site-faq__item[open] {
	border-color: rgba(255, 119, 34, 0.4);
	box-shadow: 0 6px 24px rgba(255, 119, 34, 0.08);
}

.kr-site-faq.kr-reveal.is-visible .kr-site-faq__item {
	animation: krFadeUp 0.45s ease backwards;
}

.kr-site-faq.kr-reveal.is-visible .kr-site-faq__item:nth-child(1) { animation-delay: 0.04s; }
.kr-site-faq.kr-reveal.is-visible .kr-site-faq__item:nth-child(2) { animation-delay: 0.08s; }
.kr-site-faq.kr-reveal.is-visible .kr-site-faq__item:nth-child(3) { animation-delay: 0.12s; }
.kr-site-faq.kr-reveal.is-visible .kr-site-faq__item:nth-child(4) { animation-delay: 0.16s; }

@keyframes krFadeUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.kr-site-faq {
		padding: 40px 16px 48px;
	}

	.kr-site-faq__head h2 {
		font-size: 1.35rem;
	}
}
