/* =========================================================
   FAQ Page — Bahr Delivery
   ========================================================= */

.rabeea-store .rb-faq-page {
	background: var(--rb-bahr-page, #edf5fa);
}

/* ── Header ── */
.rabeea-store .rb-faq-page__header {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rabeea-store .rb-faq-page__header .rb-badge {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.3rem 1rem;
	border-radius: 999px;
	background: var(--rb-bahr-navy, #173c56);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
}

.rabeea-store .rb-faq-page__title {
	color: var(--rb-bahr-text, #1c2a37);
	font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
	font-weight: 900;
	margin-bottom: 0.6rem;
}

.rabeea-store .rb-faq-page__subtitle {
	max-width: 600px;
	margin: 0 auto;
	color: #536879;
	font-size: 1rem;
	line-height: 1.85;
}

/* ── FAQ List ── */
.rabeea-store .rb-faq-list {
	max-width: 820px;
	margin: 0 auto;
	display: grid;
	gap: 0.75rem;
}

/* ── FAQ Item ── */
.rabeea-store .rb-faq-item {
	border: 1px solid var(--rb-bahr-border, #dceaf2);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(23, 60, 86, 0.05);
	overflow: hidden;
	transition: border-color 220ms ease, box-shadow 220ms ease;
}

.rabeea-store .rb-faq-item.is-open {
	border-color: rgba(27, 131, 138, 0.4);
	box-shadow: 0 10px 28px rgba(23, 60, 86, 0.09);
}

/* ── Question button ── */
.rabeea-store .rb-faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.1rem 1.25rem;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: right;
	color: var(--rb-bahr-text, #1c2a37);
	font-size: 1rem;
	font-weight: 800;
	font-family: inherit;
	line-height: 1.5;
	transition: color 160ms ease, background 160ms ease;
}

.rabeea-store .rb-faq-item__question:hover {
	color: var(--rb-bahr-teal, #1b838a);
	background: rgba(27, 131, 138, 0.04);
}

.rabeea-store .rb-faq-item.is-open .rb-faq-item__question {
	color: var(--rb-bahr-navy, #173c56);
	background: rgba(23, 60, 86, 0.03);
}

.rabeea-store .rb-faq-item__q-text {
	flex: 1;
}

.rabeea-store .rb-faq-item__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--rb-bahr-chip, #d9edf8);
	color: var(--rb-bahr-navy, #173c56);
	font-size: 0.75rem;
	transition: transform 280ms ease, background 160ms ease;
}

.rabeea-store .rb-faq-item.is-open .rb-faq-item__icon {
	transform: rotate(180deg);
	background: var(--rb-bahr-teal, #1b838a);
	color: #ffffff;
}

/* ── Answer panel ── */
.rabeea-store .rb-faq-item__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 360ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rabeea-store .rb-faq-item.is-open .rb-faq-item__answer {
	max-height: 600px;
}

.rabeea-store .rb-faq-item__answer-inner {
	padding: 0 1.25rem 1.25rem;
	border-top: 1px solid var(--rb-bahr-border, #dceaf2);
}

.rabeea-store .rb-faq-item__answer-inner p {
	margin: 0.75rem 0 0;
	color: #536879;
	font-size: 0.95rem;
	line-height: 1.9;
}

.rabeea-store .rb-faq-item__answer-inner p:first-child {
	margin-top: 0.9rem;
}

.rabeea-store .rb-faq-item__answer-inner ul,
.rabeea-store .rb-faq-item__answer-inner ol {
	margin: 0.75rem 0 0;
	padding-inline-start: 1.5rem;
	list-style: disc;
	color: #536879;
	font-size: 0.95rem;
	line-height: 1.9;
}

/* ── Contact CTA ── */
.rabeea-store .rb-faq-contact {
	max-width: 820px;
	margin: 2.5rem auto 0;
}

.rabeea-store .rb-faq-contact__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	border: 1px solid rgba(27, 131, 138, 0.22);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(23, 60, 86, 0.04) 0%, rgba(27, 131, 138, 0.06) 100%);
	flex-wrap: wrap;
}

.rabeea-store .rb-faq-contact__icon {
	font-size: 2rem;
	color: var(--rb-bahr-teal, #1b838a);
	flex: 0 0 auto;
}

.rabeea-store .rb-faq-contact__inner > div {
	flex: 1;
}

.rabeea-store .rb-faq-contact__title {
	margin: 0 0 0.25rem;
	color: var(--rb-bahr-text, #1c2a37);
	font-size: 1.05rem;
	font-weight: 900;
}

.rabeea-store .rb-faq-contact__text {
	margin: 0;
	color: #536879;
	font-size: 0.9rem;
}

.rabeea-store .rb-faq-contact__btn {
	flex: 0 0 auto;
	background: linear-gradient(90deg, var(--rb-bahr-navy, #173c56), var(--rb-bahr-teal, #1b838a)) !important;
	border: 0 !important;
	color: #ffffff !important;
	box-shadow: 0 10px 22px rgba(23, 60, 86, 0.18) !important;
}

.rabeea-store .rb-faq-contact__btn:hover {
	background: linear-gradient(90deg, var(--rb-bahr-navy-hover, #0f314a), var(--rb-bahr-teal-hover, #146f76)) !important;
	transform: translateY(-2px) !important;
}

/* ── Empty state ── */
.rabeea-store .rb-faq-empty {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
	color: #536879;
}

@media (max-width: 575px) {
	.rabeea-store .rb-faq-contact__inner {
		flex-direction: column;
		text-align: center;
	}

	.rabeea-store .rb-faq-contact__btn {
		width: 100%;
		justify-content: center;
	}
}
