.hac-promo-bar {
	position: sticky;
	top: 0;
	z-index: 99990;
	background-color: #0e6a3c;
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 46%),
		linear-gradient(100deg, #0e6a3c 0%, #127a45 34%, #6d1730 70%, #8e1a2e 100%);
	box-shadow: inset 0 -3px 0 #e2c275;
	color: #fffaf3;
}

.hac-promo-bar--fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

body:has(.hac-promo-bar--fixed) {
	padding-top: 78px;
}

body.admin-bar .hac-promo-bar--fixed {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hac-promo-bar--fixed {
		top: 46px;
	}
}

button.hac-promo-bar__open {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	width: 100%;
	margin: 0;
	padding: 15px 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	box-shadow: none;
	font: inherit;
	font-size: 22.5px;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
}

button.hac-promo-bar__open:hover,
button.hac-promo-bar__open:focus {
	background: rgba(0, 0, 0, 0.14);
	color: #fff;
}

button.hac-promo-bar__open:focus {
	outline: none;
}

button.hac-promo-bar__open:focus-visible {
	outline: 2px solid #e2c275;
	outline-offset: -3px;
}

.hac-promo-bar__icon {
	width: 1.35em;
	height: 1.35em;
	flex: 0 0 auto;
	color: #e2c275;
}

.hac-promo-bar__valid {
	white-space: nowrap;
}

.hac-promo-bar__more {
	font-size: 1em;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hac-promo-dialog {
	width: min(860px, calc(100vw - 40px));
	max-height: calc(100vh - 40px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: auto;
	color: #1a1a1a;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.hac-promo-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.hac-promo-dialog__hero {
	position: relative;
}

.hac-promo-dialog__hero img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: contain;
	background: #9b1b24;
}

.hac-promo-dialog__content {
	padding: 28px 36px 32px;
}

.hac-promo-dialog h2 {
	margin: 0 0 8px;
	font-size: 32px;
	line-height: 1.25;
}

.hac-promo-dialog__dates {
	margin: 0 0 16px;
	color: #8e1a2e;
	font-size: 18px;
	font-weight: 700;
}

.hac-promo-dialog__body p {
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.55;
}

.hac-promo-dialog__products {
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.5;
}

.hac-promo-dialog__actions {
	display: flex;
	justify-content: center;
}

button.hac-promo-dialog__close {
	display: inline-block;
	width: auto !important;
	margin: 0 auto;
	padding: 14px 36px;
	border: 0;
	border-radius: 8px;
	background: #8e1a2e;
	color: #fff;
	box-shadow: none;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

button.hac-promo-dialog__x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #333;
	box-shadow: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

button.hac-promo-dialog__close:focus,
button.hac-promo-dialog__x:focus {
	outline: none;
}

button.hac-promo-dialog__close:focus-visible,
button.hac-promo-dialog__x:focus-visible {
	outline: 2px solid #8e1a2e;
	outline-offset: 3px;
}

.hac-promo-free {
	color: #2c6a48;
	font-weight: 700;
}

@media (max-width: 600px) {
	button.hac-promo-bar__open {
		font-size: 18px;
		padding: 14px 16px;
	}

	.hac-promo-dialog__hero img {
		max-height: none;
	}

	.hac-promo-dialog__content {
		padding: 22px 20px 24px;
	}

	.hac-promo-dialog h2 {
		font-size: 26px;
	}
}
