/* Vivienne Promo Bar */
.vpb {
	--vpb-gap: 16px;
	--vpb-row-gap: 4px;
	--vpb-sep-color: rgba(255, 255, 255, 0.35);
	--vpb-sep-height: 16px;
	--vpb-sep-thickness: 1px;
	--vpb-dot-size: 4px;
	--vpb-slash-size: 16px;
	--vpb-unit-gap: 6px;
	--vpb-box-bg: rgba(255, 255, 255, 0.12);
	--vpb-box-radius: 2px;
	--vpb-cta-icon-size: 0.95em;
	--vpb-close-size: 16px;
	--vpb-close-offset: 12px;
	--vpb-close-space: 0px;
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9990;
	box-sizing: border-box;
	padding-inline: var(--vpb-close-space);
	background-color: #000;
	color: #fff;
	font-family: inherit;
	line-height: 1.25;
	text-align: center;
}

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

.vpb[hidden],
.vpb [hidden] {
	display: none !important;
}

.vpb--pending {
	visibility: hidden;
}

.vpb--top {
	top: var(--vpb-admin, 0px);
}

.vpb--bottom {
	bottom: 0;
}

.vpb--closable {
	--vpb-close-space: calc(var(--vpb-close-offset) * 2 + var(--vpb-close-size));
}

.vpb--bar-link {
	cursor: pointer;
}

.vpb__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	column-gap: var(--vpb-gap);
	row-gap: var(--vpb-row-gap);
	min-height: 44px;
	padding: 10px 16px;
}

/* Blocks + separators ------------------------------------------------ */
.vpb__block {
	display: flex;
	align-items: center;
	gap: var(--vpb-gap);
	min-width: 0;
}

.vpb__block--sep::before {
	flex: none;
	content: "";
}

.vpb--sep-line .vpb__block--sep::before {
	width: var(--vpb-sep-thickness);
	height: var(--vpb-sep-height);
	background-color: var(--vpb-sep-color);
}

.vpb--sep-dot .vpb__block--sep::before {
	width: var(--vpb-dot-size);
	height: var(--vpb-dot-size);
	border-radius: 50%;
	background-color: var(--vpb-sep-color);
}

.vpb--sep-slash .vpb__block--sep::before {
	content: "/";
	color: var(--vpb-sep-color);
	font-size: var(--vpb-slash-size);
	font-weight: 300;
	line-height: 1;
}

.vpb--sep-none .vpb__block--sep::before {
	display: none;
}

/* Text --------------------------------------------------------------- */
.vpb__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
}

.vpb__conditions {
	font-size: 15px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
}

/* Timer -------------------------------------------------------------- */
.vpb__timer {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.vpb__timer-label {
	display: flex;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.vpb__units {
	display: flex;
	align-items: baseline;
	gap: var(--vpb-unit-gap);
	font-variant-numeric: tabular-nums;
}

.vpb__unit {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
}

.vpb__num {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

.vpb__ulabel {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

/* Clock: 2 дн 14:05:33 */
.vpb--timer-clock .vpb__units {
	gap: 0;
}

.vpb--timer-clock .vpb__unit {
	gap: 0;
}

.vpb--timer-clock .vpb__unit--d {
	gap: 3px;
	margin-inline-end: var(--vpb-unit-gap);
}

.vpb--timer-clock .vpb__unit:not(.vpb__unit--d) .vpb__ulabel {
	display: none;
}

.vpb--timer-clock .vpb__unit--h ~ .vpb__unit--m::before,
.vpb--timer-clock .vpb__unit--h ~ .vpb__unit--s::before,
.vpb--timer-clock .vpb__unit--m ~ .vpb__unit--s::before {
	content: ":";
	padding-inline: 1px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

/* Boxes */
.vpb--timer-boxes .vpb__unit {
	justify-content: center;
	padding: 3px 6px;
	border-radius: var(--vpb-box-radius);
	background-color: var(--vpb-box-bg);
}

.vpb__expired {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

/* CTA ---------------------------------------------------------------- */
.vpb .vpb__cta,
.vpb a.vpb__cta,
.vpb a.vpb__cta:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0 solid transparent;
	border-radius: 0;
	background-color: transparent;
	color: #ff56a4;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.vpb a.vpb__cta:hover,
.vpb a.vpb__cta:focus-visible,
.vpb--bar-link:hover a.vpb__cta {
	color: #fff;
	text-decoration: none;
}

.vpb--cta-button .vpb__cta,
.vpb--cta-button a.vpb__cta,
.vpb--cta-button a.vpb__cta:visited {
	padding: 7px 14px;
	background-color: #ff56a4;
	color: #000;
}

.vpb--cta-button a.vpb__cta:hover,
.vpb--cta-button a.vpb__cta:focus-visible,
.vpb--cta-button.vpb--bar-link:hover a.vpb__cta {
	background-color: #fff;
	color: #000;
}

.vpb__cta-icon {
	display: inline-flex;
	transition: transform 0.2s;
}

.vpb__cta-icon svg {
	width: var(--vpb-cta-icon-size);
	height: var(--vpb-cta-icon-size);
	fill: currentColor;
}

.vpb__cta-icon i {
	font-size: var(--vpb-cta-icon-size);
}

.vpb a.vpb__cta:hover .vpb__cta-icon,
.vpb--bar-link:hover .vpb__cta-icon {
	transform: translateX(3px);
}

/* Close -------------------------------------------------------------- */
.vpb button.vpb__close,
.vpb button.vpb__close:hover,
.vpb button.vpb__close:focus {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--vpb-close-size) + 12px);
	height: calc(var(--vpb-close-size) + 12px);
	margin: 0;
	margin-top: calc((var(--vpb-close-size) + 12px) / -2);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	transition: opacity 0.2s, color 0.2s;
}

.vpb--close-start button.vpb__close,
.vpb--close-start button.vpb__close:hover,
.vpb--close-start button.vpb__close:focus {
	inset-inline-start: calc(var(--vpb-close-offset) - 6px);
	inset-inline-end: auto;
}

.vpb--close-end button.vpb__close,
.vpb--close-end button.vpb__close:hover,
.vpb--close-end button.vpb__close:focus {
	inset-inline-start: auto;
	inset-inline-end: calc(var(--vpb-close-offset) - 6px);
}

.vpb button.vpb__close:hover {
	opacity: 0.7;
}

.vpb button.vpb__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.vpb button.vpb__close svg {
	width: var(--vpb-close-size);
	height: var(--vpb-close-size);
	fill: currentColor;
}

/* Entrance ----------------------------------------------------------- */
.vpb--animate.vpb--shown.vpb--top {
	animation: vpb-in-top 0.35s ease-out;
}

.vpb--animate.vpb--shown.vpb--bottom {
	animation: vpb-in-bottom 0.35s ease-out;
}

@keyframes vpb-in-top {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

@keyframes vpb-in-bottom {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.vpb--animate.vpb--shown.vpb--top,
	.vpb--animate.vpb--shown.vpb--bottom {
		animation: none;
	}

	.vpb__cta-icon,
	.vpb a.vpb__cta {
		transition: none;
	}
}
