/* MaidForYou FAQ Plugin v4 — mfy-faq.css */

/* ── Variables ─────────────────────────────────────────────── */
:root {
	--mfy-or:      #F47F04;
	--mfy-or-dk:   #C25A0A;
	--mfy-or-bg:   #FEF3E8;
	--mfy-or-rim:  #FDE0C0;
	--mfy-txt:     #556172;
	--mfy-mid:     #556172;
	--mfy-muted:   #101828;
	--mfy-border:  #E8E8E6;
	--mfy-radius:  8px;
	--mfy-t:       0.18s ease;
}

/* ── Box sizing reset ──────────────────────────────────────── */
.mfy-faq-search-wrap,
.mfy-faq-search-wrap *,
#mfy-faq-full,
#mfy-faq-full * {
	box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   SEARCH BAR  [faq_search]
══════════════════════════════════════════════════════════════ */
.mfy-faq-search-wrap {
	width: 100%;
}

.mfy-faq-search-bar {
	display: flex;
	align-items: center;
	background: #ffffff;
	border-radius: 50px;
	padding: 6px 6px 6px 20px;
	gap: 10px;
	box-shadow: 0 2px 14px rgba(0,0,0,0.12);
}

.mfy-faq-search-icon {
	width: 18px;
	height: 18px;
	color: #aaaaaa;
	flex-shrink: 0;
}

.mfy-faq-search-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 15px;
	color: var(--mfy-txt);
	background: transparent;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.mfy-faq-search-input::placeholder { color: #bbbbbb; }

.mfy-faq-search-btn {
	background: var(--mfy-or);
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 10px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background var(--mfy-t);
	white-space: nowrap;
	flex-shrink: 0;
}
.mfy-faq-search-btn:hover { background: var(--mfy-or-dk); }

/* Popular tags */
.mfy-faq-popular {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-top: 10px;
}
.mfy-faq-popular-label {
	font-size: 13px;
	color: var(--mfy-muted);
}
.mfy-faq-popular-tag {
	font-size: 13px;
	color: var(--mfy-or);
	text-decoration: underline;
	cursor: pointer;
	transition: color var(--mfy-t);
}
.mfy-faq-popular-tag:hover { color: var(--mfy-or-dk); }

/* ══════════════════════════════════════════════════════════════
   TOP FILTER PILLS — always visible on desktop + mobile
══════════════════════════════════════════════════════════════ */
.mfy-faq-top-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-bottom: 28px;
}

.mfy-faq-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 20px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid #E5E7EB;
	background: #ffffff;
	color: var(--mfy-mid);
	cursor: pointer;
	font-family: inherit;
	transition: all var(--mfy-t);
	white-space: nowrap;
	line-height: 1.2;
}
.mfy-faq-filter-pill svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	fill: none;
	flex-shrink: 0;
}
.mfy-faq-filter-pill.active{
	border-color: var(--mfy-or);
	color: var(--mfy-or);
}
.mfy-faq-filter-pill:hover  {
	background: var(--mfy-or);
	border-color: var(--mfy-or);
	color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   BODY — sidebar left, main right
══════════════════════════════════════════════════════════════ */
.mfy-faq-body {
	display: flex;
	gap: 36px;
	align-items: flex-start;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════ */
.mfy-faq-sidebar {
	width: 300px;
	flex-shrink: 0;
	position: sticky;
	top: 20px;
}

.mfy-faq-sidebar-title {
	font-size: 11px;
	font-weight: 700;
	color: #101828;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0 4px 10px;
	display: block;
}

.mfy-faq-sidebar-nav {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
}
.mfy-faq-sidebar-nav li {
	padding: 0;
	margin: 6px 0;
}

.mfy-faq-sidebar-btn {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 8px 10px;
	background: none;
	border: none;
	border-left: 3px solid transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight:600;
	color: var(--mfy-mid);
	font-family: inherit;
	text-align: left;
	transition: all var(--mfy-t);
	line-height: 1.3;
}
.mfy-faq-sidebar-btn:hover {
	background: var(--mfy-or-bg);
	color: var(--mfy-or);
	border-left-color: var(--mfy-or);
}
.mfy-faq-sidebar-btn.active {
    background: #F47F04;
    border-left-color: #F47F04;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
}

/* Icon circle */
.mfy-faq-sidebar-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ededeb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background var(--mfy-t);
}
.mfy-faq-sidebar-icon svg {
	width: 12px;
	height: 12px;
	stroke: #aaaaaa;
	fill: none;
	transition: stroke var(--mfy-t);
}
.mfy-faq-sidebar-btn.active .mfy-faq-sidebar-icon,
.mfy-faq-sidebar-btn:hover .mfy-faq-sidebar-icon {
	background: var(--mfy-or);
}
.mfy-faq-sidebar-btn.active .mfy-faq-sidebar-icon svg,
.mfy-faq-sidebar-btn:hover .mfy-faq-sidebar-icon svg {
	stroke: #ffffff;
}

/* Still need help card */
.mfy-faq-sidebar-help {
	border: 1.5px solid var(--mfy-border);
	border-radius: 10px;
	padding: 16px 14px;
	text-align: center;
	background: #ffffff;
	margin-top: 8px;
}
.mfy-faq-sidebar-help-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--mfy-txt);
	margin-bottom: 6px;
}
.mfy-faq-sidebar-help-sub {
	font-size: 12px;
	color: var(--mfy-muted);
	line-height: 1.5;
	margin-bottom: 12px;
}
.mfy-faq-sidebar-call-btn {
	display: block;
	background: var(--mfy-or);
	color: #ffffff !important;
	border-radius: 50px;
	padding: 9px 12px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	text-align: center;
	transition: background var(--mfy-t);
}
.mfy-faq-sidebar-call-btn:hover { background: var(--mfy-or-dk); }

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════════════ */
.mfy-faq-main {
	flex: 1;
	min-width: 0;
}

.mfy-faq-result-count {
	font-size: 13px;
	color: var(--mfy-muted);
	text-align: right;
	margin-bottom: 14px;
	display: none;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY SECTIONS
══════════════════════════════════════════════════════════════ */
.mfy-faq-category {
	margin-bottom: 38px;
}
.mfy-faq-category[hidden] {
	display: none !important;
}

.mfy-faq-cat-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: 700;
	color: #0A0A0A;
	margin-bottom: 3px;
	line-height: 1.2;
}
.mfy-faq-cat-title svg {
	width: 20px;
	height: 20px;
	stroke: var(--mfy-or);
	fill: none;
	flex-shrink: 0;
}
.mfy-faq-cat-count {
    font-size: 12.5px;
    color: #556172;
    margin-bottom: 12px;
    font-weight: 700;
    margin-top: 3px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}
/* ══════════════════════════════════════════════════════════════
   ACCORDION WRAPPER — provides padding context so negative
   margins on open items bleed edge-to-edge
══════════════════════════════════════════════════════════════ */
.mfy-faq-accordion {
	padding-left: 0;
	padding-right: 0;
}

.mfy-faq-item {
	border-bottom: 1px solid var(--mfy-border);
}
.mfy-faq-item:first-child {
	border-top: 1px solid var(--mfy-border);
}
.mfy-faq-item[hidden] {
	display: none !important;
}

/* Question row */
.mfy-faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background var(--mfy-t);
    border: 1px solid #fff;
    border-radius: 15px;
}
.mfy-faq-question:hover {
	background: var(--mfy-or-bg);
}
.mfy-faq-question[aria-expanded="true"] {
    background: #F3E7DB!important;
    border-top-left-radius: 15px!important;
    border-top-right-radius: 15px!important;
    border: 1px solid #F3E7DB!important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Dot */
.mfy-faq-q-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #F3E7DB;
    background: #F3E7DB;
    flex-shrink: 0;
    transition: all var(--mfy-t);
}
.mfy-faq-question[aria-expanded="true"] .mfy-faq-q-dot,
.mfy-faq-question:hover .mfy-faq-q-dot {
	background: var(--mfy-or);
	border-color: var(--mfy-or);
}
.mfy-faq-question:hover {
    background: #FFF5EC;
    border: 1px solid #F3E7DB;
    border-radius: 15px;
}
/* Question text */
.mfy-faq-q-text {
	flex: 1;
	font-size: 16px;
	font-weight: 400;
	color: #0A0A0A;
	line-height: 1.4;
}
.mfy-faq-question[aria-expanded="true"] .mfy-faq-q-text {
	font-weight: 600;
}

/* Chevron */
.mfy-faq-chevron {
	width: 18px;
	height: 18px;
	stroke: var(--mfy-muted);
	fill: none;
	flex-shrink: 0;
	transition: transform var(--mfy-t), stroke var(--mfy-t);
}
.mfy-faq-question[aria-expanded="true"] .mfy-faq-chevron {
	transform: rotate(180deg);
	stroke: var(--mfy-or);
}

/* Answer */
.mfy-faq-answer[hidden] { display: none; }
.mfy-faq-answer-inner {
    padding: 14px 22px 18px;
    background: #fff;
    border: 1px solid #F3E7DB;
    font-size: 14px;
    color: #556172;
    line-height: 1.7;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}
.mfy-faq-answer-inner a {
	color: var(--mfy-or);
	text-decoration: underline;
}
.mfy-faq-answer-inner strong { color: var(--mfy-txt); }
.mfy-faq-answer-inner ul,
.mfy-faq-answer-inner ol {
	padding-left: 18px;
	margin: 6px 0;
}
.mfy-faq-answer-inner li { margin-bottom: 4px; }

/* ══════════════════════════════════════════════════════════════
   NO RESULTS
══════════════════════════════════════════════════════════════ */
.mfy-faq-no-results {
	text-align: center;
	padding: 52px 24px 36px;
}
.mfy-faq-no-results[hidden] { display: none; }
.mfy-faq-no-results svg {
	width: 48px;
	height: 48px;
	stroke: #cccccc;
	display: block;
	margin: 0 auto 16px;
}
.mfy-faq-no-results-title {
	font-size: 22px;
	font-weight: 700;
	color:#0A0A0A;
	margin-bottom: 8px;
}
.mfy-faq-no-results p {
	font-size: 14px;
	color: var(--mfy-muted);
	margin-bottom: 20px;
}
.mfy-faq-no-results-term {
	color: var(--mfy-txt);
	font-weight: 600;
}
.mfy-faq-clear-btn {
	display: inline-block;
	border: 1.5px solid var(--mfy-border);
	border-radius: 50px;
	padding: 9px 26px;
	font-size: 13.5px;
	color: var(--mfy-mid);
	cursor: pointer;
	background: #ffffff;
	font-family: inherit;
	transition: all var(--mfy-t);
}
.mfy-faq-clear-btn:hover {
	border-color: var(--mfy-or);
	color: var(--mfy-or);
}

/* ══════════════════════════════════════════════════════════════
   STILL NEED HELP — orange block, always 3 columns
══════════════════════════════════════════════════════════════ */
.mfy-faq-still-need {
	background: var(--mfy-or);
	border-radius: 16px;
	padding: 40px 32px 28px;
	text-align: center;
	margin-top: 40px;
}
.mfy-faq-still-need-title {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 8px;
}
.mfy-faq-still-need-sub {
	font-size: 14px;
	color: rgba(255,255,255,0.85);
	margin-bottom: 28px;
}
.mfy-faq-still-btns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 20px;
}
.mfy-faq-still-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,0.15);
	border: 1.5px solid rgba(255,255,255,0.25);
	border-radius: 12px;
	padding: 22px 12px 18px;
	text-decoration: none !important;
	color: #ffffff !important;
	transition: background var(--mfy-t);
}
.mfy-faq-still-btn:hover { background: rgba(255,255,255,0.25); }

.mfy-faq-still-btn-ico {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
}
.mfy-faq-still-btn-ico svg {
	width: 22px;
	height: 22px;
	stroke: #ffffff;
	fill: none;
}
.mfy-faq-still-btn-label {
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
}
.mfy-faq-still-btn-sub {
	font-size: 12px;
	color: rgba(255,255,255,0.8);
	line-height: 1.5;
	text-align: center;
}
.mfy-faq-still-footer {
	font-size: 12px;
	color: rgba(255,255,255,0.75);
	margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.mfy-faq-body { gap: 22px; }
	.mfy-faq-sidebar { width: 185px; }
}
@media (max-width: 768px) {
	.mfy-faq-body { flex-direction: column; }
	.mfy-faq-sidebar { display: none; }
	.mfy-faq-top-filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.mfy-faq-top-filters::-webkit-scrollbar { display: none; }
	.mfy-faq-filter-pill { flex-shrink: 0; }
	.mfy-faq-still-need { padding: 28px 16px 20px; }
	.mfy-faq-still-need-title { font-size: 22px; }
	.mfy-faq-still-btns { gap: 10px; }
	.mfy-faq-still-btn { padding: 16px 8px 14px; }
	.mfy-faq-still-btn-ico { width: 40px; height: 40px; }
	.mfy-faq-still-btn-ico svg { width: 18px; height: 18px; }
	.mfy-faq-still-btn-label { font-size: 13px; }
}
@media (max-width: 480px) {
	.mfy-faq-search-btn { padding: 10px 18px; font-size: 14px; }
	.mfy-faq-still-btn-sub { display: none; }
}
.mfy-faq-sidebar-help {
    border: 1px solid #E5E7EB;
    padding: 26px;
}

.mfy-faq-item {
    margin: 4px 0px;
}