/* FB.pl Opinie: review section and flow. Scoped to .fbplo. */
.fbplo {
	--fbplo-ink: #17132b;
	--fbplo-muted: #5b5670;
	--fbplo-line: #ece8f3;
	--fbplo-soft: #f7f5fb;
	--fbplo-brand: #b21f78;
	--fbplo-grad: linear-gradient(135deg, #d6246e 0%, #b21f78 55%, #7a2bb5 100%);
	--fbplo-star: #f5a400;
	--fbplo-star-off: #e3deec;
	--fbplo-error: #b3133f;
	--fbplo-ok: #0e8a5f;
	--fbplo-link: #0a59f1;
	box-sizing: border-box;
	margin: 3rem 0 0;
	color: var(--fbplo-ink);
	font-family: var(--wp--preset--font-family--sans, "Instrument Sans", system-ui, sans-serif);
	font-size: 16px;
	line-height: 1.55;
	scroll-margin-top: 90px;
}
.fbplo *, .fbplo *::before, .fbplo *::after { box-sizing: border-box; }
.fbplo [hidden] { display: none !important; }

.fbplo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.fbplo-h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; }
.fbplo-h3 { margin: 6px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.2; }
.fbplo-h3 label { cursor: text; }
.fbplo-h4 { margin: 28px 0 12px; font-size: 19px; font-weight: 700; }
.fbplo-avg { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; color: var(--fbplo-muted); }
.fbplo-avg strong { color: var(--fbplo-ink); font-size: 18px; }
.fbplo-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase; color: var(--fbplo-brand); }
.fbplo-muted { margin: 8px 0 0; color: var(--fbplo-muted); }
.fbplo-small { margin: 16px 0 0; font-size: 14px; color: var(--fbplo-muted); }
.fbplo-center { text-align: center; }
.fbplo-opt { font-weight: 400; color: var(--fbplo-muted); }

.fbplo-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
	border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none;
	transition: transform .12s ease, box-shadow .12s ease;
}
.fbplo-btn--primary { background: var(--fbplo-grad); color: #fff; box-shadow: 0 10px 24px -14px rgba(178, 31, 120, .8); }
.fbplo-btn--primary:hover { transform: translateY(-1px); color: #fff; }
.fbplo-btn--ghost { background: #fff; color: var(--fbplo-ink); border: 1.5px solid #d9d2e6; }
.fbplo-btn--wide { width: 100%; min-height: 56px; margin-top: 20px; font-size: 17px; }
.fbplo-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.fbplo-link { border: 0; background: none; padding: 8px 2px; color: var(--fbplo-link); font: inherit; font-weight: 600; cursor: pointer; }
.fbplo-btn:focus-visible, .fbplo-link:focus-visible, .fbplo-star:focus-visible, .fbplo-choice:focus-visible { outline: 3px solid rgba(10, 89, 241, .45); outline-offset: 2px; }

.fbplo-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.fbplo-notice--ok { background: #e6f6ef; color: #0b5e41; }
.fbplo-notice--error { background: #fdecef; color: var(--fbplo-error); }

.fbplo-flow { margin-top: 20px; padding: 28px 24px; background: #fff; border: 1px solid var(--fbplo-line); border-radius: 24px; box-shadow: 0 24px 60px -42px rgba(23, 19, 43, .35); }
.fbplo-step { max-width: 640px; }

.fbplo-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 16px; }
.fbplo-star { width: 54px; height: 54px; padding: 4px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--fbplo-star-off); }
.fbplo-star svg { fill: currentColor; display: block; transition: transform .1s ease; }
.fbplo-star.is-on { color: var(--fbplo-star); }
.fbplo-star:hover svg { transform: scale(1.08); }
.fbplo-rate-label { margin-left: 8px; font-weight: 700; font-size: 17px; }

.fbplo-choices { display: grid; gap: 12px; }
.fbplo-choice {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px; text-align: left; cursor: pointer;
	background: #fff; border: 2px solid var(--fbplo-line); border-radius: 18px; font: inherit; color: inherit;
	transition: border-color .12s ease, box-shadow .12s ease;
}
.fbplo-choice:hover { border-color: #d6246e; box-shadow: 0 12px 28px -20px rgba(178, 31, 120, .7); }
.fbplo-choice__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.fbplo-choice__icon--quick { background: #fdeaf2; color: #b21f78; }
.fbplo-choice__icon--detail { background: #eee7f8; color: #7a2bb5; }
.fbplo-choice__text { display: flex; flex-direction: column; gap: 3px; }
.fbplo-choice__text strong { font-size: 18px; }
.fbplo-choice__text span { color: var(--fbplo-muted); font-size: 15px; }

.fbplo-recap { margin: 10px 0 0; font-weight: 700; color: var(--fbplo-ink); }
.fbplo-label { display: block; margin-top: 16px; font-weight: 600; font-size: 15px; }
.fbplo-input {
	display: block; width: 100%; margin-top: 8px; padding: 13px 16px; border: 1.5px solid #d9d2e6; border-radius: 14px;
	background: #fff; color: var(--fbplo-ink); font: inherit; font-size: 16px; line-height: 1.5;
}
input.fbplo-input { min-height: 50px; }
textarea.fbplo-input { resize: vertical; }
.fbplo-input:focus { outline: 3px solid rgba(178, 31, 120, .22); border-color: var(--fbplo-brand); }
.fbplo-input::placeholder { color: #8a849c; }
.fbplo-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.fbplo-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--fbplo-brand); }
.fbplo-check--muted { font-size: 14px; color: var(--fbplo-muted); }
.fbplo-error { margin: 8px 0 0; color: var(--fbplo-error); font-weight: 500; font-size: 15px; }
.fbplo-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 22px; }
.fbplo-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: var(--fbplo-soft); font-weight: 700; }
.fbplo-summary .fbplo-muted { margin: 0; font-weight: 400; font-size: 14px; }
.fbplo-summary .fbplo-link { margin-left: auto; font-size: 14px; }
.fbplo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fbplo-progress-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fbplo-progress-row .fbplo-recap { margin: 0; }
.fbplo-progress { margin: 10px 0 18px; height: 8px; border-radius: 999px; background: #efeaf6; overflow: hidden; }
.fbplo-progress span { display: block; height: 100%; width: 20%; border-radius: 999px; background: linear-gradient(90deg, #d6246e, #7a2bb5); transition: width .2s ease; }

.fbplo-done { text-align: center; max-width: none; padding: 8px 0; }
.fbplo-done:focus { outline: none; }
.fbplo-done__icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 999px; background: #e6f6ef; color: var(--fbplo-ok); display: flex; align-items: center; justify-content: center; }
.fbplo-done p { max-width: 480px; margin: 12px auto 0; color: #3e3952; }

.fbplo-list { margin-top: 22px; display: grid; gap: 16px; }
.fbplo-empty { padding: 26px; border-radius: 18px; background: var(--fbplo-soft); text-align: center; }
.fbplo-empty__title { margin: 0; font-weight: 700; font-size: 18px; }
.fbplo-review { padding: 22px; border: 1px solid var(--fbplo-line); border-radius: 18px; background: #fff; }
.fbplo-review__head { display: flex; align-items: center; gap: 12px; }
.fbplo-avatar { flex: 0 0 44px; height: 44px; border-radius: 999px; background: #f1ecf8; color: #7a2bb5; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.fbplo-review__name { margin: 0; font-weight: 700; }
.fbplo-review__meta { margin: 2px 0 0; font-size: 13px; color: var(--fbplo-muted); }
.fbplo-review__stars { margin: 12px 0 0; }
.fbplo-review__text { margin: 10px 0 0; }
.fbplo-review__answers { margin: 10px 0 0; }
.fbplo-review__answers dt { margin-top: 12px; font-weight: 700; font-size: 15px; }
.fbplo-review__answers dd { margin: 4px 0 0; }
.fbplo-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.fbplo-stars .is-on { fill: var(--fbplo-star); }
.fbplo-stars .is-off { fill: var(--fbplo-star-off); }
.fbplo-trust { margin: 22px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--fbplo-soft); font-size: 15px; color: #3e3952; }

@media (max-width: 600px) {
	.fbplo-flow { padding: 22px 16px; border-radius: 20px; }
	.fbplo-h2 { font-size: 24px; }
	.fbplo-h3 { font-size: 22px; }
	.fbplo-star { width: 50px; height: 50px; }
	.fbplo-actions .fbplo-btn { flex: 1 1 auto; }
}
