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

:root {
	--sw-green: #38bdf8;
	--sw-green-bright: #7dd3fc;
	--sw-green-dark: #0284c7;
	--sw-navy: #0f172a;
	--sw-bg: #f8fafc;
	--sw-card: #fff;
	--sw-text: #1e293b;
	--sw-text-muted: #64748b;
	--sw-border: #e2e8f0;
}

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

body {
	font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	background: var(--sw-bg);
	color: var(--sw-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;
}

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

.top-bar {
	background: #fff;
	border-bottom: 1px solid var(--sw-border);
	padding: 12px 0;
}
.top-bar__wrapper {
	display: flex;
	align-items: center;
}
.logo-block {
	display: flex;
	align-items: center;
	gap: 8px;
}
.logo-block__icon {
	width: 30px;
	height: 30px;
	background: var(--sw-green);
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-block__icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}
.logo-block__text {
	font-family: 'Figtree', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--sw-navy);
	letter-spacing: -0.3px;
}

.main-content {
	padding: 0 0 40px;
}

.media-player {
	margin: 0 -20px 18px;
}
.media-player #eco-player {
	border-radius: 6px;
	overflow: hidden;
}
@media (max-width: 640px) {
	.main-content {
		padding: 0 0 32px;
	}
	.layout-container {
		padding-left: 0;
		padding-right: 0;
	}
	.post-heading,
	.author-info,
	.promo-banner,
	#promo-panel-box,
	.fb-feed-section,
	.site-footer .layout-container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.media-player {
		margin: 0 0 14px;
	}
}
@media (min-width: 641px) {
	.post-heading {
		margin-top: 16px;
	}
}

.post-heading {
	font-family: 'Figtree', sans-serif;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--sw-navy);
	margin-bottom: 16px;
	letter-spacing: -0.3px;
}

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

#promo-panel-box {
	display: none;
	text-align: center;
	margin: 0 0 16px;
}
#promo-panel-box.is-revealed {
	animation: reveal-anim 0.6s ease-out both;
}
@keyframes reveal-anim {
	0% {
		opacity: 0;
		transform: translateY(-12px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.promo-banner__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--sw-green-dark);
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #22c55e;
	color: #fff;
	font-family: 'Figtree', 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(34, 197, 94, 0.45);
	animation: pulse-anim 1.8s ease-in-out infinite;
	transition: transform 0.15s ease, background 0.15s ease;
}
.action-button:hover {
	background: #16a34a;
	animation: none;
	transform: translateY(-2px);
}
.action-button:active {
	transform: translateY(0);
}
.action-button svg {
	stroke: currentColor;
	flex-shrink: 0;
}

@keyframes pulse-anim {
	0%,
	100% {
		transform: scale(1);
		box-shadow: 0 6px 22px rgba(34, 197, 94, 0.45);
	}
	50% {
		transform: scale(1.03);
		box-shadow: 0 10px 32px rgba(34, 197, 94, 0.6);
	}
}

.promo-banner__meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin-top: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--sw-text-muted);
}
.promo-banner__trust,
.promo-banner__delivery {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
	color: var(--sw-green-dark);
}
.promo-banner__trust svg,
.promo-banner__delivery svg {
	stroke: currentColor;
}

@media (max-width: 520px) {
	.promo-banner {
		padding: 22px 18px;
		border-radius: 10px;
	}
	.action-button {
		font-size: 15px;
		padding: 14px 18px;
		gap: 8px;
		letter-spacing: 0.3px;
		width: 80%;
		max-width: 320px;
	}
	.promo-banner__meta {
		font-size: 12px;
		gap: 12px;
	}
}

.fb-feed-section {
	margin-top: 28px;
	padding-top: 4px;
}
.fb-feed-section__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--sw-navy);
	font-weight: 600;
	font-size: 15px;
}
.fb-feed-section__header svg {
	fill: var(--sw-navy);
}
.fb-feed-section__filter {
	margin-left: auto;
	font-size: 13px;
	color: var(--sw-text-muted);
	font-weight: 500;
}

.fb-card-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
}
.fb-card-item + .fb-card-item {
	border-top: 1px solid var(--sw-border);
}
.fb-card-item__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.fb-card-item__content {
	flex: 1;
	min-width: 0;
}
.fb-card-item__info {
	font-size: 13px;
	color: var(--sw-text-muted);
	margin-bottom: 4px;
}
.fb-card-item__info b {
	color: var(--sw-navy);
	font-weight: 600;
	margin-right: 8px;
}
.fb-card-item__message {
	font-size: 14px;
	color: var(--sw-text);
	line-height: 1.55;
	margin-bottom: 8px;
	word-break: break-word;
}
.fb-card-item__toolbar {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: -8px;
}
.fb-card-item__toolbar button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 50px;
	color: var(--sw-text-muted);
	font-size: 13px;
	font-weight: 500;
	transition: background 0.15s ease;
}
.fb-card-item__toolbar button:hover {
	background: #f1f5f9;
	color: var(--sw-navy);
}
.fb-card-item__toolbar button svg {
	fill: currentColor;
}

.fb-card-item__toolbar button.is-liked {
	color: #22c55e !important;
	background-color: #dcfce7 !important;
}

.fb-card-item__toolbar button.is-disliked {
	color: #ef4444 !important;
	background-color: #fee2e2 !important;
}

.fb-card-item__toolbar button {
	transition: color 0.2s ease, background-color 0.2s ease;
}

.main-interaction-trigger {
	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;
}

.main-interaction-trigger.is-liked {
	color: #22c55e !important;
	background-color: #dcfce7 !important;
	border-color: #22c55e !important;
}

.fb-card-item--nested {
	margin-top: 14px;
	margin-left: 0;
	padding: 12px 0 0 16px;
	border-left: 2px solid var(--sw-border);
	border-top: none !important;
}
.fb-card-item--nested .fb-card-item__avatar {
	width: 32px;
	height: 32px;
}
.fb-card-item--nested .fb-card-item__message {
	font-size: 13.5px;
}

@media (max-width: 520px) {
	.fb-card-item__avatar {
		width: 32px;
		height: 32px;
	}
	.fb-card-item__message {
		font-size: 13.5px;
	}
	.fb-card-item--nested .fb-card-item__avatar {
		width: 28px;
		height: 28px;
	}
}

.site-footer {
	background: #fff;
	border-top: 1px solid var(--sw-border);
	padding: 24px 0 20px;
	text-align: center;
	margin-top: 32px;
}
.site-footer__copyright {
	font-size: 12px;
	color: var(--sw-text-muted);
	margin-bottom: 4px;
}
.site-footer__entity {
	font-size: 11px;
	color: var(--sw-text-muted);
	opacity: 0.7;
	margin-bottom: 12px;
}
.site-footer__nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.site-footer__nav a {
	color: var(--sw-text-muted);
	font-size: 13px;
	transition: color 0.15s ease;
}
.site-footer__nav a:hover {
	color: var(--sw-navy);
}
.site-footer__divider {
	color: #cbd5e1;
}

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

.promo-banner {
	font-family: 'Figtree', sans-serif;
	max-width: 900px;
	margin: 30px auto;
	padding: 32px;
	box-sizing: border-box;
}

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

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

.promo-tag {
	display: inline-block;
	padding: 6px 14px;
	background: #0f172a;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 20px;
	margin-bottom: 20px;
}

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

.promo-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.08));
	transition: transform 0.4s ease;
}

.promo-image:hover {
	transform: scale(1.05);
}

.promo-headline {
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 8px 0;
	line-height: 1.15;
	letter-spacing: -0.5px;
}

.text-accent {
	color: #0ea5e9;
}

.promo-subhead {
	font-size: 15px;
	color: #64748b;
	margin: 0 0 20px 0;
	font-weight: 400;
}

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

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

.features-icon {
	width: 20px;
	height: 20px;
	background: #e0f2fe;
	color: #0ea5e9;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}

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

.action-button:hover {
	background: #16a34a;
	transform: translateY(-1px);
}

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

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

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

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

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

.trust-details h3 {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
}

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

@media (max-width: 600px) {
	.promo-banner {
		padding: 20px;
	}

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

	.trust-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

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

.fb-editor-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background-color: #e2e8f0;
}

.fb-post-form {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fb-input-group {
	position: relative;
	width: 100%;
}

.fb-input-area {
	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;
}

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

.fb-input-area:focus ~ .fb-input-line {
	width: 100%;
	left: 0;
}

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

.fb-controls-panel.is-visible {
	display: flex;
}

.fb-action-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fb-action-discard {
	background: transparent;
	border: none;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 18px;
	cursor: pointer;
}

.fb-action-discard:hover {
	background-color: #f1f5f9;
}

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

.fb-action-publish:hover:not(:disabled) {
	background-color: #1e293b;
}

.fb-action-publish:disabled {
	background-color: #e2e8f0;
	color: #94a3b8;
	cursor: not-allowed;
}

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

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

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

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