/* Discount Pro — front-end styles */

.dp-banner {
	position: relative;
	width: 100%;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	transition: max-height .35s ease, opacity .35s ease;
	overflow: hidden;
}
.dp-banner__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 44px 10px 16px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .2px;
	position: relative;
}
.dp-banner__text {
	color: inherit;
	text-decoration: none;
}
.dp-banner__text:hover {
	text-decoration: underline;
}
.dp-banner__close {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: .75;
	padding: 4px 8px;
}
.dp-banner__close:hover {
	opacity: 1;
}
.dp-banner.dp-banner--hiding {
	max-height: 0 !important;
	opacity: 0;
	padding: 0;
}

/* Popup / flyer */
.dp-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .25s ease;
	padding: 20px;
}
.dp-popup-overlay.dp-popup-overlay--visible {
	opacity: 1;
}
.dp-popup {
	position: relative;
	max-width: 520px;
	width: 100%;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	transform: scale(.95);
	transition: transform .25s ease;
	overflow: hidden;
}
.dp-popup-overlay--visible .dp-popup {
	transform: scale(1);
}
.dp-popup__image {
	display: block;
	width: 100%;
	height: auto;
}
.dp-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0,0,0,.55);
	color: #fff;
	border: 0;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.dp-popup__close:hover {
	background: rgba(0,0,0,.8);
}

@media (max-width: 600px) {
	.dp-banner__inner { font-size: 12.5px; padding: 8px 40px 8px 12px; }
}
