/* Site tokens: coral #FA4155, navy #053264, Gilam, radius 8. */
.pv-ftb {
	background: #FA4155;
	color: #fff;
	font-family: "Gilam", sans-serif;
	position: relative;
	z-index: 100;
	cursor: pointer; /* whole bar is clickable (topbar.js) */
}
.pv-ftb__inner {
	/* Same content edges as the site header: logo left, „Меню“ button right. */
	max-width: 1520px; /* 1440 content + 2×40 padding */
	box-sizing: border-box;
	margin: 0 auto;
	padding: 14px 40px;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "text btn";
	align-items: center;
	gap: 8px 40px;
}
.pv-ftb__text { grid-area: text; min-width: 0; }
.pv-ftb p { margin: 0 !important; padding: 0 !important; color: #fff; }

.pv-ftb p.pv-ftb__title {
	font-size: 19px;
	line-height: 25px;
	font-weight: 500 !important;
	text-wrap: pretty;
}
.pv-ftb p.pv-ftb__title strong { font-weight: 700 !important; }
.pv-ftb .pv-ftb__name { white-space: nowrap; }
.pv-ftb p.pv-ftb__title .pv-ftb__count {
	font-size: 1em;
	font-weight: 800 !important;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	/* Inverted: white highlight, coral letters. */
	background: #fff;
	color: #FA4155;
	padding: 1px 6px;
	border-radius: 6px;
	margin-right: 2px;
}
.pv-ftb p.pv-ftb__where {
	margin-top: 4px !important;
	font-size: 15px;
	line-height: 21px;
	font-weight: 400 !important;
	opacity: .95;
}

/* CTA: calm white button like the reference screenshot. */
.pv-ftb a.pv-ftb__btn,
.pv-ftb a.pv-ftb__btn:visited {
	grid-area: btn;
	display: inline-block;
	background: #fff;
	color: #FA4155;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	text-decoration: none;
	padding: 10px 24px;
	border-radius: 8px;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color .15s;
}
.pv-ftb:hover a.pv-ftb__btn { background: #FFF0F1; color: #FA4155; }
.pv-ftb a.pv-ftb__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.pv-ftb__inner { padding: 14px 24px; }
}

/* Mobile: centered; countdown on its own line above the text; button below. */
@media (max-width: 767px) {
	.pv-ftb__inner {
		padding: 12px 16px 14px;
		grid-template-columns: 1fr;
		grid-template-areas: "text" "btn";
		gap: 10px;
		text-align: center;
	}
	.pv-ftb p.pv-ftb__title { font-size: 16px; line-height: 21px; }
	.pv-ftb p.pv-ftb__title .pv-ftb__count {
		display: table;
		margin: 0 auto 6px;
	}
	.pv-ftb p.pv-ftb__where { font-size: 13px; line-height: 18px; }
	.pv-ftb a.pv-ftb__btn,
	.pv-ftb a.pv-ftb__btn:visited {
		justify-self: center;
		font-size: 15px;
		padding: 8px 20px;
	}
}
