@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&display=swap');

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--fbx-sapphire-main: #0f172a;
	--fbx-sapphire-accent: #1e293b;
	--fbx-sapphire-highlight: #334155;
	--fbx-slate-deep: #020617;
	--fbx-bg: #fafafa;
	--fbx-card: #ffffff;
	--fbx-text: #0f172a;
	--fbx-text-muted: #64748b;
	--fbx-border: #e2e8f0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial,
		sans-serif;
	background: var(--fbx-bg);
	color: var(--fbx-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.fbx-layout-shell {
	max-width: 880px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.fbx-site-header {
	background: #ffffff;
	border-bottom: 1px solid var(--fbx-border);
	padding: 12px 0;
}
.fbx-site-header__wrapper {
	display: flex;
	align-items: center;
}
.fbx-brand-identity {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fbx-brand-identity__icon {
	width: 30px;
	height: 30px;
	background: var(--fbx-sapphire-main);
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fbx-brand-identity__icon svg {
	width: 18px;
	height: 18px;
	fill: #ffffff;
}
.fbx-brand-identity__text {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--fbx-sapphire-main);
	letter-spacing: -0.3px;
}

.fbx-page-view {
	padding: 0 0 40px;
}

.fbx-video-holder {
	margin: 0 -20px 18px;
}
.fbx-video-holder #eco-player {
	border-radius: 0;
	overflow: hidden;
}
@media (max-width: 640px) {
	.fbx-page-view {
		padding: 0 0 32px;
	}
	.fbx-layout-shell {
		padding-left: 0;
		padding-right: 0;
	}
	.fbx-article-heading,
	.fbx-author-meta,
	.fbx-vsl-card-box,
	#opt-vsl-card,
	.fbx-comments-block,
	.fbx-footer-section .fbx-layout-shell {
		padding-left: 16px;
		padding-right: 16px;
	}
	.fbx-video-holder {
		margin: 0 0 14px;
	}
}
@media (min-width: 641px) {
	.fbx-article-heading {
		margin-top: 16px;
	}
}

.fbx-article-heading {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--fbx-sapphire-main);
	margin-bottom: 16px;
	letter-spacing: -0.3px;
}

.fbx-author-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--fbx-border);
}
.fbx-author-meta__photo {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.fbx-author-meta__text {
	flex: 1;
	min-width: 0;
}
.fbx-author-meta__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--fbx-sapphire-main);
	line-height: 1.2;
}
.fbx-author-meta__time {
	font-size: 13px;
	color: var(--fbx-text-muted);
	margin-top: 2px;
}
.fbx-engagement-group {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.fbx-interaction-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 50px;
	background: #f1f5f9;
	color: var(--fbx-sapphire-main);
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s ease;
}
.fbx-interaction-btn:hover {
	background: #e2e8f0;
}
.fbx-interaction-btn svg {
	fill: currentColor;
}
@media (max-width: 640px) {
	.fbx-engagement-group .fbx-interaction-btn span {
		display: none;
	}
	.fbx-interaction-btn {
		padding: 8px 10px;
	}
}
@media (max-width: 420px) {
	.fbx-author-meta__time {
		font-size: 12px;
	}
}

#opt-vsl-card {
	display: none;
	text-align: center;
	margin: 0 0 12px;
}
#opt-vsl-card.fbx-cta-appear {
	animation: fbx-cta-appear 0.6s ease-out both;
}
@keyframes fbx-cta-appear {
	0% {
		opacity: 0;
		transform: translateY(-12px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.fbx-vsl-card-box__tag {
	font-size: 12px;
	font-weight: 700;
	color: var(--fbx-sapphire-main);
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.fbx-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #15803d;
	color: #ffffff;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.5px;
	padding: 18px 32px;
	border-radius: 12px;
	width: 100%;
	max-width: 440px;
	box-shadow: 0 6px 22px rgba(21, 128, 61, 0.4);
	animation: fbx-cta-pulse 1.8s ease-in-out infinite;
	transition: transform 0.15s ease, background 0.15s ease;
}
.fbx-cta-button:hover {
	background: #166534;
	animation: none;
	transform: translateY(-2px);
}
.fbx-cta-button:active {
	transform: translateY(0);
}
.fbx-cta-button svg {
	stroke: currentColor;
	flex-shrink: 0;
}

@keyframes fbx-cta-pulse {
	0%,
	100% {
		transform: scale(1);
		box-shadow: 0 6px 22px rgba(21, 128, 61, 0.4);
	}
	50% {
		transform: scale(1.03);
		box-shadow: 0 10px 32px rgba(21, 128, 61, 0.55);
	}
}

.fbx-vsl-card-box__bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin-top: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--fbx-text-muted);
}
.fbx-vsl-card-box__policy,
.fbx-vsl-card-box__delivery {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
	color: var(--fbx-sapphire-main);
}
.fbx-vsl-card-box__policy svg,
.fbx-vsl-card-box__delivery svg {
	stroke: currentColor;
}

@media (max-width: 520px) {
	.fbx-vsl-card-box {
		padding: 22px 18px;
		border-radius: 10px;
	}
	.fbx-cta-button {
		font-size: 15px;
		padding: 14px 18px;
		gap: 8px;
		letter-spacing: 0.3px;
		width: 80%;
		max-width: 320px;
	}
	.fbx-vsl-card-box__bottom {
		font-size: 12px;
		gap: 12px;
	}
}

.fbx-comments-block {
	margin-top: 28px;
	padding-top: 4px;
}
.fbx-comments-block__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--fbx-sapphire-main);
	font-weight: 600;
	font-size: 15px;
}
.fbx-comments-block__top svg {
	fill: var(--fbx-sapphire-main);
}
.fbx-comments-block__filter {
	margin-left: auto;
	font-size: 13px;
	color: var(--fbx-text-muted);
	font-weight: 500;
}

.fbx-card-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
}
.fbx-card-row + .fbx-card-row {
	border-top: 1px solid var(--fbx-border);
}
.fbx-card-row__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.fbx-card-row__body {
	flex: 1;
	min-width: 0;
}
.fbx-card-row__meta {
	font-size: 13px;
	color: var(--fbx-text-muted);
	margin-bottom: 4px;
}
.fbx-card-row__meta b {
	color: var(--fbx-sapphire-main);
	font-weight: 600;
	margin-right: 8px;
}
.fbx-card-row__details {
	font-size: 14px;
	color: var(--fbx-text);
	line-height: 1.55;
	margin-bottom: 8px;
	word-break: break-word;
}
.fbx-card-row__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: -8px;
}
.fbx-card-row__actions button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 50px;
	color: var(--fbx-text-muted);
	font-size: 13px;
	font-weight: 500;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.fbx-card-row__actions button:hover {
	background: #f1f5f9;
	color: var(--fbx-sapphire-main);
}
.fbx-card-row__actions button svg {
	fill: currentColor;
}

.fbx-card-row__actions button.is-selected,
.fbx-btn-up.is-selected {
	color: #166534 !important;
	background-color: #dcfce7 !important;
}

.fbx-card-row__actions button.is-rejected,
.fbx-btn-down.is-rejected {
	color: #dc2626 !important;
	background-color: #fef2f2 !important;
}

.fbx-interaction-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fbx-interaction-btn.is-selected {
	color: #166534 !important;
	background-color: #dcfce7 !important;
	border-color: #166534 !important;
}

.fbx-card-row--sub {
	margin-top: 14px;
	margin-left: 0;
	padding: 12px 0 0 16px;
	border-left: 2px solid var(--fbx-border);
	border-top: none !important;
}
.fbx-card-row--sub .fbx-card-row__avatar {
	width: 32px;
	height: 32px;
}
.fbx-card-row--sub .fbx-card-row__details {
	font-size: 13.5px;
}

@media (max-width: 520px) {
	.fbx-card-row__avatar {
		width: 32px;
		height: 32px;
	}
	.fbx-card-row__details {
		font-size: 13.5px;
	}
	.fbx-card-row--sub .fbx-card-row__avatar {
		width: 28px;
		height: 28px;
	}
}

.fbx-footer-section {
	background: #ffffff;
	border-top: 1px solid var(--fbx-border);
	padding: 24px 0 20px;
	text-align: center;
	margin-top: 32px;
}
.fbx-footer-section__rights {
	font-size: 12px;
	color: var(--fbx-text-muted);
	margin-bottom: 4px;
}
.fbx-footer-section__entity {
	font-size: 11px;
	color: var(--fbx-text-muted);
	opacity: 0.7;
	margin-bottom: 12px;
}
.fbx-footer-section__links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.fbx-footer-section__links a {
	color: var(--fbx-text-muted);
	font-size: 13px;
	transition: color 0.15s ease;
}
.fbx-footer-section__links a:hover {
	color: var(--fbx-sapphire-main);
}
.fbx-footer-section__dot {
	color: #cbd5e1;
}

@supports (padding: max(0px)) {
	.fbx-footer-section {
		padding-bottom: max(20px, env(safe-area-inset-bottom));
	}
}

.fbx-offer-wrapper {
	font-family: 'Bricolage Grotesque', sans-serif;
	max-width: 900px;
	margin: 30px auto;
	padding: 32px;
	box-sizing: border-box;
}

.fbx-offer-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: center;
}

.fbx-offer-media-pane {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: space-around;
}

.fbx-offer-badge {
	display: inline-block;
	padding: 6px 14px;
	background: var(--fbx-sapphire-main);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 20px;
	margin-bottom: 20px;
}

.fbx-product-link {
	display: block;
	width: 100%;
	text-decoration: none;
}

.fbx-product-photo {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 15px 20px rgba(15, 23, 42, 0.1));
	transition: transform 0.4s ease;
}

.fbx-product-photo:hover {
	transform: scale(1.05);
}

.fbx-offer-title {
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 900;
	color: var(--fbx-sapphire-main);
	margin: 0 0 8px 0;
	line-height: 1.15;
	letter-spacing: -0.5px;
}

.fbx-accent-color {
	color: var(--fbx-sapphire-main);
}

.fbx-offer-subtitle {
	font-size: 15px;
	color: #64748b;
	margin: 0 0 20px 0;
	font-weight: 400;
}

.fbx-bullet-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.fbx-bullet-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.fbx-bullet-icon {
	width: 20px;
	height: 20px;
	background: #e2e8f0;
	color: var(--fbx-sapphire-main);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}

.fbx-cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	background: #15803d;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
	transition: background-color 0.2s ease, transform 0.2s ease;
	box-sizing: border-box;
	text-align: center;
	margin: 0 auto;
}

.fbx-cta-button:hover {
	background: #166534;
	transform: translateY(-1px);
}

.fbx-cta-button svg {
	transition: transform 0.2s ease;
}

.fbx-cta-button:hover svg {
	transform: translateX(4px);
}

.fbx-trust-element {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	color: #94a3b8;
	font-weight: 600;
}

.fbx-guarantee-panel {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.fbx-guarantee-icon {
	width: 56px;
	height: 56px;
	background: #f8fafc;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex-shrink: 0;
}

.fbx-guarantee-text h3 {
	font-size: 16px;
	font-weight: 800;
	color: var(--fbx-sapphire-main);
	margin: 0 0 4px 0;
}

.fbx-guarantee-text p {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 600px) {
	.fbx-offer-wrapper {
		padding: 20px;
	}

	.fbx-offer-grid {
		flex-direction: column;
		gap: 20px;
	}

	.fbx-guarantee-panel {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* Контейнер формы */
.fbx-new-entry-wrap {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 28px;
}

.fbx-new-entry-wrap__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background-color: #e2e8f0;
}

.fbx-entry-form {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fbx-entry-form__field-wrapper {
	position: relative;
	width: 100%;
}

.fbx-entry-form__field-wrapper textarea {
	width: 100%;
	padding: 4px 0 6px 0;
	border: none;
	border-bottom: 1px solid #cbd5e1;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: #0f172a;
	outline: none;
	resize: none;
	min-height: 24px;
	line-height: 1.4;
	box-sizing: border-box;
	display: block;
	overflow: hidden;
}

.fbx-entry-form__accent-line {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #0f172a;
	transition: width 0.2s ease, left 0.2s ease;
}

.fbx-entry-form__field-wrapper textarea:focus ~ .fbx-entry-form__accent-line {
	width: 100%;
	left: 0;
}

/* Панель кнопок */
.fbx-action-panel {
	display: none;
	justify-content: flex-end;
	margin-top: 8px;
}

.fbx-action-panel.is-active {
	display: flex;
}

.fbx-action-panel__group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fbx-btn-reset {
	background: transparent;
	border: none;
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 18px;
	cursor: pointer;
}

.fbx-btn-reset:hover {
	background-color: rgba(15, 23, 42, 0.08);
}

.fbx-btn-send {
	background-color: #0f172a;
	color: #ffffff;
	border: none;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 18px;
	cursor: pointer;
}

.fbx-btn-send:hover:not(:disabled) {
	background-color: #1e293b;
}

.fbx-btn-send:disabled {
	background-color: #f1f5f9;
	color: #94a3b8;
	cursor: not-allowed;
}

.fbx-legal-content {
	padding: 16px;
	list-style-type: none;
}

.fbx-legal-content h1 {
	padding: 0;
	font-size: 32px;
}

.fbx-legal-content article {
	padding: 16px 0 0 0;
}

.fbx-legal-content li {
	list-style-type: none;
}
