/**
 * Fundamental Lucky Wheel — фронтенд стилове.
 * Всичко е скоупнато под .flw-root, за да не се бие с темата/Elementor.
 */

.flw-root {
	--flw-ink: #122C19;
	--flw-primary: #4D9F57;
	--flw-accent: #E06436;
	--flw-muted: #626D7D;
	--flw-surface: #FFFFFF;
	--flw-panel: #F4F8EE;
	--flw-line: #E1EBD1;
	--flw-danger: #C0392B;
	--flw-font-title: inherit;
	--flw-font-body: inherit;
	--flw-radius: 26px;
	--flw-shadow: 0 16px 40px -22px rgba(18, 44, 25, .38);
}

.flw-root *,
.flw-root *::before,
.flw-root *::after {
	box-sizing: border-box;
}

/* ---------- Overlay ---------- */

.flw-overlay {
	position: fixed;
	inset: 0;
	z-index: 999990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(18, 44, 25, .55);
	opacity: 0;
	transition: opacity .28s ease;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.flw-overlay[hidden] {
	display: none;
}

.flw-overlay.is-visible {
	opacity: 1;
}

body.flw-locked {
	overflow: hidden;
}

/* ---------- Modal ---------- */

.flw-modal {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: auto;
	background: var(--flw-surface);
	border-radius: var(--flw-radius);
	box-shadow: var(--flw-shadow);
	transform: translateY(18px) scale(.97);
	opacity: 0;
	transition: transform .38s cubic-bezier(.2, .9, .3, 1), opacity .3s ease;
	overflow: hidden;
	font-family: var(--flw-font-body);
	color: var(--flw-ink);
	line-height: 1.5;
}

.flw-overlay.is-visible .flw-modal {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.flw-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 4;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .82);
	color: var(--flw-ink);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.flw-close:hover {
	background: #fff;
	transform: rotate(90deg);
}

.flw-test-badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 4;
	padding: 7px 14px;
	font-size: 11.5px;
	font-weight: 600;
	color: #fff;
	background: var(--flw-ink);
	border-bottom-right-radius: 12px;
}

.flw-grid {
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	align-items: stretch;
}

/* ---------- Сцена с колелото ---------- */

.flw-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	background: var(--flw-panel);
	overflow: hidden;
}

.flw-wheel-wrap {
	position: relative;
	width: min(392px, 80vw);
	aspect-ratio: 1;
	margin-left: -3%;
	filter: drop-shadow(0 6px 14px rgba(18, 44, 25, .12));
}

.flw-wheel {
	width: 100%;
	height: 100%;
	transform: rotate(0deg);
	will-change: transform;
}

.flw-wheel svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.flw-wheel-label {
	font-weight: 700;
	letter-spacing: .01em;
}

.flw-wheel .is-lg { font-size: 13px; }
.flw-wheel .is-md { font-size: 11.5px; }
.flw-wheel .is-sm { font-size: 10.5px; }

/* --- Пръстеновият вариант --- */

.flw-wheel .flw-rim {
	fill: #fff;
}

.flw-wheel .flw-rim-back {
	fill: var(--flw-primary);
	opacity: .12;
}

.flw-wheel .flw-spark {
	fill: var(--flw-accent);
}

.flw-wheel .flw-spark.is-alt {
	fill: var(--flw-primary);
	opacity: .45;
}

.flw-wheel .flw-hole-ring {
	stroke: var(--flw-primary);
	stroke-width: 1.5;
	opacity: .18;
}

/* --- Панаирджийският вариант --- */

.flw-wheel .flw-band {
	fill: var(--flw-ink);
}

.flw-wheel .flw-bulb.is-on {
	fill: var(--flw-accent);
}

.flw-wheel .flw-bulb.is-off {
	fill: #fff;
	opacity: .5;
}

.flw-root[data-wheel="carnival"] {
	--flw-pointer-top: -28px;
}

/* --- Вариантът с листа --- */

.flw-wheel .flw-petal-edge {
	fill: var(--flw-ink);
	stroke: var(--flw-ink);
	opacity: .13;
}

.flw-root[data-wheel="petal"] {
	--flw-pointer-top: -30px;
}

.flw-root[data-wheel="petal"] .flw-hub {
	width: 21%;
	box-shadow: none;
}

.flw-root[data-wheel="petal"] .flw-wheel-wrap {
	filter: drop-shadow(0 4px 10px rgba(18, 44, 25, .10));
}

/* Дупката на пръстена вече е нарисувана в SVG-то, затова шайбата само носи логото. */
.flw-root[data-wheel="magic"] .flw-hub {
	width: 23%;
	background: none;
	box-shadow: none;
}

.flw-root[data-wheel="magic"] .flw-hub img {
	width: 100%;
}

.flw-hub__star {
	width: 78%;
	height: auto;
}

.flw-root[data-wheel="magic"] {
	--flw-pointer-top: -18px;
}

.flw-root[data-wheel="magic"] .flw-wheel-wrap {
	filter: drop-shadow(0 5px 12px rgba(18, 44, 25, .10));
}

.flw-pointer {
	position: absolute;
	top: var(--flw-pointer-top, -22px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	transform-origin: 50% 20%;
}

.flw-pointer.is-ticking {
	animation: flw-tick .09s ease-in-out;
}

@keyframes flw-tick {
	50% { transform: translateX(-50%) rotate(-11deg); }
}

.flw-hub {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 27%;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(18, 44, 25, .10);
	z-index: 2;
	pointer-events: none;
}

.flw-hub img {
	width: 68%;
	height: auto;
	display: block;
}

.flw-hub__dot {
	width: 26%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--flw-primary);
}

.flw-confetti {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 5;
}

/* ---------- Панел ---------- */

.flw-panel {
	position: relative;
	padding: 52px 46px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flw-eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--flw-accent);
}

.flw-result-headline {
	margin: 0 0 6px;
	font-family: var(--flw-font-title);
	font-size: 16px;
	font-weight: 700;
	color: var(--flw-accent);
}

.flw-title {
	margin: 0 0 10px;
	font-family: var(--flw-font-title);
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.12;
	font-weight: 800;
	/* Виж бронята най-отдолу — Elementor бие този селектор. */
	color: var(--flw-ink);
}

.flw-title span {
	color: var(--flw-accent);
}

/* Акцент като маркер — за брандове, чийто акцентен цвят няма контраст като текст
   (жълтото на Вълшебник е 1.5:1 върху бяло, но 10:1 като фон). */
.flw-root[data-accent="highlight"] .flw-title span {
	color: var(--flw-ink);
	background: var(--flw-accent);
	padding: 0 .18em;
	border-radius: 8px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.flw-root[data-accent="highlight"] .flw-eyebrow,
.flw-root[data-accent="highlight"] .flw-result-headline {
	color: var(--flw-primary);
}

.flw-root[data-accent="highlight"] .flw-pointer polygon {
	fill: var(--flw-primary);
	stroke: var(--flw-primary);
}

.flw-sub {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--flw-muted);
}

.flw-form {
	margin: 0;
}

.flw-field {
	position: relative;
	margin-bottom: 14px;
}

.flw-label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--flw-ink);
}

.flw-input {
	width: 100%;
	height: 54px;
	padding: 0 18px;
	font-size: 16px;
	font-family: inherit;
	color: var(--flw-ink);
	background: #fff;
	border: 1.5px solid var(--flw-line);
	border-radius: 12px;
	outline: none;
	transition: border-color .18s ease;
}

.flw-input::placeholder {
	color: #A9B4A6;
}

.flw-input:focus {
	border-color: var(--flw-primary);
	border-width: 2px;
}

.flw-input.has-error {
	border-color: var(--flw-danger);
	border-width: 2px;
}

.flw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Чекбокс за съгласие */

.flw-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--flw-muted);
	cursor: pointer;
}

.flw-consent input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.flw-consent__box {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--flw-line);
	border-radius: 6px;
	background: #fff;
	color: #fff;
	transition: background .18s ease, border-color .18s ease;
}

.flw-consent__box svg {
	opacity: 0;
	transform: scale(.6);
	transition: opacity .16s ease, transform .16s ease;
}

.flw-consent input:checked + .flw-consent__box {
	background: var(--flw-primary);
	border-color: var(--flw-primary);
}

.flw-consent input:checked + .flw-consent__box svg {
	opacity: 1;
	transform: scale(1);
}

.flw-consent input:focus-visible + .flw-consent__box {
	outline: 2px solid var(--flw-primary);
	outline-offset: 2px;
}

.flw-consent a {
	color: var(--flw-ink);
	text-decoration: underline;
}

.flw-error {
	margin: 0 0 12px;
	min-height: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--flw-danger);
}

.flw-error:empty {
	margin: 0;
}

/* Бутон */

.flw-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 0 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background: var(--flw-primary);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: box-shadow .16s ease;
}

/* Затъмняване при hover чрез inset — без сянка под бутона. */
.flw-btn:hover {
	color: #fff;
	box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .08);
}

.flw-btn:active {
	box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .14);
}

.flw-btn[disabled] {
	opacity: .7;
	cursor: default;
}

.flw-btn__spinner {
	display: none;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	border: 2.5px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: flw-rotate .7s linear infinite;
}

.flw-btn.is-busy .flw-btn__spinner {
	display: block;
}

@keyframes flw-rotate {
	to { transform: rotate(360deg); }
}

.flw-btn--link {
	margin-top: 6px;
}

.flw-decline {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 6px;
	font-family: inherit;
	font-size: 13px;
	color: var(--flw-muted);
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

.flw-fineprint {
	margin: 18px 0 0;
	font-size: 11.5px;
	line-height: 1.5;
	color: #98A296;
}

/* ---------- Резултат ---------- */

.flw-result-view[hidden],
.flw-form-view[hidden] {
	display: none;
}

.flw-title--result {
	margin-bottom: 8px;
}

.flw-ticket {
	margin: 20px 0 16px;
	padding: 18px 20px 14px;
	text-align: center;
	background: var(--flw-panel);
	border: 1.5px solid var(--flw-line);
	border-radius: 14px;
}

.flw-ticket__label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	color: var(--flw-muted);
}

.flw-ticket__code {
	display: block;
	font-family: var(--flw-font-title);
	font-size: 27px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--flw-ink);
	word-break: break-all;
}

.flw-ticket__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--flw-line);
}

.flw-ticket__meta {
	font-size: 12.5px;
	color: var(--flw-muted);
}

.flw-copy {
	padding: 8px 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--flw-ink);
	background: #fff;
	border: 1.5px solid var(--flw-line);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease;
}

.flw-copy:hover {
	border-color: var(--flw-primary);
	color: var(--flw-primary);
}

.flw-copy.is-done {
	border-color: var(--flw-primary);
	background: var(--flw-primary);
	color: #fff;
}

.flw-note {
	margin: 0 0 18px;
	font-size: 13.5px;
	color: var(--flw-muted);
}

.flw-inline-trigger {
	display: inline-flex;
	align-items: center;
	padding: 14px 28px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	font-family: var(--flw-font-body, inherit);
	background: var(--flw-primary, #4D9F57);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

/* ---------- Респонсив ---------- */

/* Таблет и малък лаптоп: две колони, но по-компактни. */
@media (max-width: 1023px) {
	.flw-modal {
		max-width: 880px;
	}

	.flw-stage {
		padding: 40px 14px;
	}

	.flw-wheel-wrap {
		width: min(340px, 36vw);
	}

	.flw-panel {
		padding: 40px 34px 34px;
	}
}

/* Таблет портрет: една колона, но все още карта в центъра, не цял екран. */
@media (max-width: 899px) {
	.flw-overlay {
		padding: 20px 16px;
		align-items: center;
	}

	.flw-modal {
		max-width: 470px;
	}

	.flw-grid {
		grid-template-columns: 1fr;
	}

	.flw-stage {
		padding: 40px 16px 22px;
	}

	.flw-wheel-wrap {
		width: min(300px, 62vw);
		margin-left: 0;
	}

	.flw-panel {
		padding: 28px 28px 32px;
		text-align: center;
	}

	.flw-title {
		font-size: 25px;
	}

	.flw-consent {
		text-align: left;
	}
}

/* Телефон: цял екран. */
@media (max-width: 599px) {
	.flw-overlay {
		padding: 0;
		align-items: flex-start;
	}

	.flw-modal {
		max-width: none;
		min-height: 100vh;
		min-height: 100dvh;
		border-radius: 0;
	}

	.flw-stage {
		padding: 36px 14px 18px;
	}

	.flw-wheel-wrap {
		width: min(286px, 70vw);
	}

	.flw-wheel .is-lg { font-size: 15px; }
	.flw-wheel .is-md { font-size: 13.5px; }
	.flw-wheel .is-sm { font-size: 12px; }

	.flw-hub {
		width: 22%;
	}

	.flw-root {
		--flw-pointer-top: -19px;
	}

	.flw-pointer svg {
		width: 34px;
		height: 41px;
	}

	.flw-root[data-wheel="magic"] {
		--flw-pointer-top: -15px;
	}

	.flw-root[data-wheel="magic"] .flw-pointer svg {
		width: 36px;
		height: 36px;
	}

	.flw-root[data-wheel="carnival"] {
		--flw-pointer-top: -22px;
	}

	.flw-root[data-wheel="carnival"] .flw-pointer svg {
		width: 36px;
		height: 39px;
	}

	.flw-root[data-wheel="petal"] {
		--flw-pointer-top: -23px;
	}

	.flw-root[data-wheel="petal"] .flw-pointer svg {
		width: 20px;
		height: 43px;
	}

	.flw-panel {
		padding: 24px 20px 32px;
	}

	.flw-ticket__bottom {
		flex-direction: column;
		gap: 10px;
	}

	.flw-copy {
		width: 100%;
	}
}

/* Тесни телефони. */
@media (max-width: 374px) {
	.flw-stage {
		padding: 30px 10px 14px;
	}

	.flw-wheel-wrap {
		width: min(232px, 66vw);
	}

	.flw-wheel .is-lg { font-size: 16px; }
	.flw-wheel .is-md { font-size: 14.5px; }
	.flw-wheel .is-sm { font-size: 13px; }

	.flw-panel {
		padding: 20px 16px 26px;
	}

	.flw-title {
		font-size: 22px;
	}

	.flw-sub {
		font-size: 14px;
		margin-bottom: 18px;
	}

	.flw-input,
	.flw-btn {
		height: 50px;
		min-height: 50px;
	}

	.flw-ticket__code {
		font-size: 22px;
	}
}

/* Нисък телефон (напр. 320x568): свиваме всичко, за да остане бутонът над сгъвката. */
@media (max-width: 619px) and (max-height: 640px) {
	.flw-stage {
		padding: 22px 10px 10px;
	}

	.flw-wheel-wrap {
		width: min(196px, 54vw);
	}

	.flw-wheel .is-lg { font-size: 18px; }
	.flw-wheel .is-md { font-size: 16px; }
	.flw-wheel .is-sm { font-size: 14px; }

	.flw-hub {
		width: 20%;
	}

	.flw-root {
		--flw-pointer-top: -14px;
	}

	.flw-pointer svg {
		width: 26px;
		height: 31px;
	}

	.flw-root[data-wheel="magic"] {
		--flw-pointer-top: -11px;
	}

	.flw-root[data-wheel="magic"] .flw-pointer svg {
		width: 28px;
		height: 28px;
	}

	.flw-root[data-wheel="carnival"] {
		--flw-pointer-top: -17px;
	}

	.flw-root[data-wheel="carnival"] .flw-pointer svg {
		width: 28px;
		height: 30px;
	}

	.flw-root[data-wheel="petal"] {
		--flw-pointer-top: -17px;
	}

	.flw-root[data-wheel="petal"] .flw-pointer svg {
		width: 16px;
		height: 34px;
	}

	.flw-panel {
		padding: 16px 16px 22px;
	}

	.flw-eyebrow {
		display: none;
	}

	.flw-title {
		font-size: 19px;
		margin-bottom: 6px;
	}

	.flw-sub {
		font-size: 13px;
		margin-bottom: 12px;
	}

	/* Етикетът остава за екранни четци, но не заема място. */
	.flw-label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.flw-field {
		margin-bottom: 10px;
	}

	.flw-input {
		height: 46px;
	}

	.flw-btn {
		min-height: 46px;
		font-size: 15px;
	}

	.flw-consent {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.flw-decline {
		margin-top: 8px;
	}

	.flw-fineprint {
		display: none;
	}

	.flw-ticket {
		margin: 12px 0 10px;
	}
}

/* Телефон в пейзаж и ниски прозорци: обратно на две колони,
   иначе бутонът пада под сгъвката. Идва след ширините, за да ги надделява. */
@media (max-height: 560px) and (min-width: 620px) {
	.flw-overlay {
		padding: 12px;
		align-items: center;
	}

	.flw-modal {
		max-width: 780px;
		min-height: 0;
		border-radius: 20px;
	}

	.flw-grid {
		grid-template-columns: .88fr 1fr;
	}

	.flw-stage {
		padding: 16px 10px;
	}

	.flw-wheel-wrap {
		width: min(230px, 32vw);
	}

	.flw-wheel .is-lg { font-size: 16px; }
	.flw-wheel .is-md { font-size: 14.5px; }
	.flw-wheel .is-sm { font-size: 13px; }

	.flw-hub {
		width: 21%;
	}

	.flw-pointer svg {
		width: 30px;
		height: 36px;
	}

	.flw-root[data-wheel="magic"] {
		--flw-pointer-top: -12px;
	}

	.flw-root[data-wheel="magic"] .flw-pointer svg {
		width: 30px;
		height: 30px;
	}

	.flw-root[data-wheel="carnival"] {
		--flw-pointer-top: -19px;
	}

	.flw-root[data-wheel="carnival"] .flw-pointer svg {
		width: 32px;
		height: 35px;
	}

	.flw-root[data-wheel="petal"] {
		--flw-pointer-top: -20px;
	}

	.flw-root[data-wheel="petal"] .flw-pointer svg {
		width: 18px;
		height: 38px;
	}

	.flw-pointer {
		top: -16px;
	}

	.flw-panel {
		padding: 20px 26px;
		text-align: left;
	}

	.flw-eyebrow {
		margin-bottom: 6px;
	}

	.flw-title {
		font-size: 21px;
	}

	.flw-sub {
		font-size: 13.5px;
		margin-bottom: 14px;
	}

	.flw-field {
		margin-bottom: 10px;
	}

	.flw-input {
		height: 46px;
	}

	.flw-btn {
		min-height: 46px;
		font-size: 15px;
	}

	.flw-consent {
		font-size: 12.5px;
		margin-bottom: 10px;
	}

	.flw-fineprint,
	.flw-decline {
		display: none;
	}

	.flw-ticket {
		margin: 12px 0 10px;
	}

	.flw-ticket {
		padding: 12px 16px 10px;
	}

	.flw-ticket__code {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.flw-overlay,
	.flw-modal,
	.flw-btn {
		transition: none;
	}

	.flw-pointer.is-ticking {
		animation: none;
	}
}

/* Достъпност */

.flw-root button:focus-visible,
.flw-root a:focus-visible {
	outline: 3px solid var(--flw-primary);
	outline-offset: 2px;
}

.flw-root .flw-input:focus-visible {
	outline: none;
}

/* ---------- Броня срещу reset-ите на темата ----------
   Теми като тази на Хер Бебе нулират всички бутони и полета през
   `[type="button"]` (0,1,0) и `input[type="email"]` (0,2,0). Нашите
   класове са със същата или по-ниска специфичност и губят, затова тук
   ги повтаряме по-силно: .flw-root + елемент + клас = (0,2,1).

   Нарочно НЕ пипаме височини, padding, font-size и ширини — тях ги
   настройват респонсив блоковете по-горе и броня върху тях би ги счупила. */

.flw-root button,
.flw-root input,
button.flw-inline-trigger {
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
}

/* Заглавието е <h2>, а Elementor слага `.elementor-kit-N h2` (0,1,1),
   което бие `.flw-title` (0,1,0). Затова го повтаряме тук. */
.flw-root .flw-title {
	font-weight: 800;
	line-height: 1.12;
}

.flw-root .flw-sub,
.flw-root .flw-eyebrow,
.flw-root .flw-result-headline {
	font-family: inherit;
}

/* Главният бутон и CTA-то в екрана с наградата. */
.flw-root button.flw-btn,
.flw-root a.flw-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	background: var(--flw-primary);
	border: 0;
	border-radius: 999px;
	color: #fff;
}

.flw-root button.flw-btn:hover,
.flw-root a.flw-btn:hover,
.flw-root button.flw-btn:focus,
.flw-root a.flw-btn:focus {
	background: var(--flw-primary);
	color: #fff;
}

.flw-root button.flw-btn[disabled] {
	background: var(--flw-primary);
	color: #fff;
}

/* Бутонът за затваряне — кръгъл, не правоъгълник с кант. */
.flw-root button.flw-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: rgba(255, 255, 255, .82);
	border: 0;
	border-radius: 50%;
	color: var(--flw-ink);
}

.flw-root button.flw-close:hover {
	background: #fff;
}

/* „Не, благодаря“ — текстов линк, не бутон с рамка. */
.flw-root button.flw-decline {
	display: block;
	width: 100%;
	background: none;
	border: 0;
	border-radius: 0;
	color: var(--flw-muted);
	text-decoration: underline;
}

/* Копчето за копиране на кода. */
.flw-root button.flw-copy {
	background: #fff;
	border: 1.5px solid var(--flw-line);
	border-radius: 999px;
	color: var(--flw-ink);
	font-weight: 600;
}

.flw-root button.flw-copy:hover {
	border-color: var(--flw-primary);
	color: var(--flw-primary);
}

.flw-root button.flw-copy.is-done {
	background: var(--flw-primary);
	border-color: var(--flw-primary);
	color: #fff;
}

/* Полето за имейл. */
.flw-root input.flw-input {
	width: 100%;
	background: #fff;
	border: 1.5px solid var(--flw-line);
	border-radius: 12px;
	color: var(--flw-ink);
	box-shadow: none;
}

.flw-root input.flw-input:focus {
	border: 2px solid var(--flw-primary);
	box-shadow: none;
	outline: none;
}

.flw-root input.flw-input.has-error {
	border: 2px solid var(--flw-danger);
}

/* Бутонът от шорткода стои извън .flw-root. */
button.flw-inline-trigger {
	background: var(--flw-primary, #4D9F57);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
