/* GK DUK – inherits theme fonts/colours; accent = Kadence palette 1 or Salient accent. */
.gkfaq {
	--gkfaq-accent: var(--global-palette1, var(--nectar-accent-color, currentColor));
	--gkfaq-line: rgba(0, 0, 0, 0.12);
	--gkfaq-soft: rgba(0, 0, 0, 0.035);
	--gkfaq-muted: rgba(0, 0, 0, 0.62);
	--gkfaq-radius: 6px;
	clear: both;
	width: 100%;
	max-width: 960px;
	margin: 48px 0 40px;
	box-sizing: border-box;
	font-family: inherit;
	color: inherit;
}
.gkfaq *,
.gkfaq *::before,
.gkfaq *::after {
	box-sizing: border-box;
}
/* Kadence product pages sit on a tinted body background – keep the block readable. */
.gkfaq-theme-kadence {
	--gkfaq-line: rgba(0, 0, 0, 0.14);
	--gkfaq-soft: rgba(255, 255, 255, 0.45);
	--gkfaq-muted: currentColor;
}

.gkfaq__heading {
	margin: 0 0 18px;
	text-transform: none;
}

/* ---------- Accordion ---------- */
.gkfaq__list {
	border-top: 1px solid var(--gkfaq-line);
}
.gkfaq__item {
	border-bottom: 1px solid var(--gkfaq-line);
}
.gkfaq__item[hidden] {
	display: none;
}
.gkfaq__item--revealed {
	animation: gkfaq-in 0.3s ease both;
}
@keyframes gkfaq-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}
.gkfaq .gkfaq__q {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: normal;
}
.gkfaq .gkfaq__toggle {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px 4px;
	cursor: pointer;
	font: inherit;
	font-size: 1.06em;
	font-weight: 600;
	line-height: 1.4;
	color: inherit;
	text-align: left;
	text-transform: none;
}
.gkfaq .gkfaq__toggle:hover .gkfaq__q-text,
.gkfaq .gkfaq__item.is-open .gkfaq__q-text {
	color: var(--gkfaq-accent);
}
.gkfaq .gkfaq__toggle:focus-visible {
	outline: 2px solid var(--gkfaq-accent);
	outline-offset: 2px;
	border-radius: 3px;
}
.gkfaq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 1px solid var(--gkfaq-line);
	border-radius: 50%;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}
.gkfaq__icon::before,
.gkfaq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	margin: -1px 0 0 -5px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}
.gkfaq__icon::after {
	transform: rotate(90deg);
}
.gkfaq__item.is-open .gkfaq__icon {
	background: var(--gkfaq-accent);
	border-color: var(--gkfaq-accent);
	color: #fff;
}
.gkfaq__item.is-open .gkfaq__icon::after {
	transform: rotate(0deg);
	opacity: 0;
}
.gkfaq__panel {
	overflow: hidden;
	transition: height 0.28s ease;
}
.gkfaq__panel-inner {
	padding: 0 4px 22px;
}
.gkfaq__answer > :first-child {
	margin-top: 0;
}
.gkfaq__answer > :last-child {
	margin-bottom: 0;
}
.gkfaq__answer p,
.gkfaq__answer ul,
.gkfaq__answer ol {
	margin: 0 0 0.8em;
}
.gkfaq__answer ul,
.gkfaq__answer ol {
	padding-left: 1.3em;
}
.gkfaq__answer li {
	margin: 0.2em 0;
}
.gkfaq__answer a {
	color: var(--gkfaq-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Product cards ---------- */
.gkfaq .gkfaq__products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.gkfaq .gkfaq-product {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gkfaq .gkfaq-product__link {
	display: flex;
	gap: 12px;
	align-items: center;
	height: 100%;
	padding: 10px;
	border: 1px solid var(--gkfaq-line);
	border-radius: var(--gkfaq-radius);
	background: var(--gkfaq-soft);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gkfaq .gkfaq-product__link:hover,
.gkfaq .gkfaq-product__link:focus-visible {
	border-color: var(--gkfaq-accent);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
.gkfaq-product__media {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
}
.gkfaq .gkfaq-product__media img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0;
	object-fit: cover;
}
.gkfaq-product__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}
.gkfaq-product__name {
	font-weight: 600;
	font-size: 0.95em;
}
.gkfaq-product__price {
	font-size: 0.92em;
}
.gkfaq-product__price del {
	opacity: 0.6;
}
.gkfaq-product__stock {
	font-size: 0.8em;
	color: var(--gkfaq-muted);
}
.gkfaq-product__more {
	margin-top: 2px;
	font-size: 0.85em;
	color: var(--gkfaq-accent);
}

/* ---------- Chat hand-off (shown only when the chatbot widget is on the page) ---------- */
.gkfaq:not(.gkfaq--chat) [data-gkfaq-needs-chat] {
	display: none !important;
}
.gkfaq__followups {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
}
.gkfaq__followups-label {
	font-size: 0.9em;
	color: var(--gkfaq-muted);
}
.gkfaq .gkfaq__chip {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid var(--gkfaq-accent);
	border-radius: 999px;
	color: var(--gkfaq-accent);
	font: inherit;
	font-size: 0.9em;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.gkfaq .gkfaq__chip::before {
	content: "";
	width: 14px;
	height: 14px;
	margin-right: 6px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.1 1 4 2.7 5.4L4 21l4.4-2.3c1.1.3 2.3.5 3.6.5 5.5 0 10-3.6 10-8.1S17.5 3 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.1 1 4 2.7 5.4L4 21l4.4-2.3c1.1.3 2.3.5 3.6.5 5.5 0 10-3.6 10-8.1S17.5 3 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gkfaq .gkfaq__chip:hover,
.gkfaq .gkfaq__chip:focus-visible {
	background: var(--gkfaq-accent);
	color: #fff;
}
.gkfaq__ask {
	margin: 14px 0 0;
	font-size: 0.92em;
	color: var(--gkfaq-muted);
}
.gkfaq .gkfaq__ask-link {
	all: unset;
	cursor: pointer;
	color: var(--gkfaq-accent);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.gkfaq .gkfaq__ask-link:focus-visible {
	outline: 2px solid var(--gkfaq-accent);
	outline-offset: 2px;
}

/* ---------- Footer: show more + chat CTA ---------- */
.gkfaq__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 14px;
	margin-top: 20px;
}
.gkfaq .gkfaq__more {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 22px;
	border: 1px solid var(--gkfaq-line);
	border-radius: var(--gkfaq-radius);
	font: inherit;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.gkfaq .gkfaq__more:hover,
.gkfaq .gkfaq__more:focus-visible {
	border-color: var(--gkfaq-accent);
	color: var(--gkfaq-accent);
}
.gkfaq__more-count {
	font-weight: 400;
	opacity: 0.7;
}
.gkfaq__cta {
	flex: 1 1 380px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px 12px 16px;
	border: 1px solid var(--gkfaq-line);
	border-left: 3px solid var(--gkfaq-accent);
	border-radius: var(--gkfaq-radius);
	background: var(--gkfaq-soft);
}
.gkfaq__cta-icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--gkfaq-accent);
}
.gkfaq__cta-text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	line-height: 1.35;
	font-size: 0.95em;
}
.gkfaq__cta-text span {
	color: var(--gkfaq-muted);
	font-size: 0.93em;
}
.gkfaq .gkfaq__chat-btn {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}
/* Salient: generic .button is dark and capitalised – use the accent like its add-to-cart button. */
.gkfaq.gkfaq-theme-salient .gkfaq__chat-btn {
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: var(--gkfaq-accent) !important;
	color: #fff !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}
.gkfaq.gkfaq-theme-salient .gkfaq__chat-btn:hover {
	opacity: 0.88;
}
.gkfaq .gkfaq__answer p {
	padding-bottom: 0;
}

@media (max-width: 600px) {
	.gkfaq {
		margin: 32px auto 28px;
	}
	.gkfaq .gkfaq__toggle {
		padding: 14px 2px;
		font-size: 1em;
	}
	.gkfaq .gkfaq__more {
		width: 100%;
	}
	.gkfaq__cta {
		flex-wrap: wrap;
	}
	.gkfaq__cta-text {
		flex-basis: calc(100% - 40px);
	}
	.gkfaq .gkfaq__chat-btn {
		width: 100%;
		text-align: center;
	}
	.gkfaq .gkfaq__products {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gkfaq__panel,
	.gkfaq__icon,
	.gkfaq__icon::before,
	.gkfaq__icon::after {
		transition: none;
	}
	.gkfaq__item--revealed {
		animation: none;
	}
}
