/* Shop notice bar – override colors in the theme via the CSS variables below. */
.webtim-shop-notice {
	--webtim-shop-notice-bg: #1d1d1b;
	--webtim-shop-notice-color: #ffffff;
	--webtim-shop-notice-link: #ffffff;
	--webtim-shop-notice-close-bg: transparent;
	--webtim-shop-notice-close-color: #ffffff;

	position: relative;
	z-index: 1000;
	width: 100%;
	background: var(--webtim-shop-notice-bg);
	color: var(--webtim-shop-notice-color);
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
}

.webtim-shop-notice__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 48px;
}

/* Hidden before paint when dismissed in this session (class set by the inline head script). */
.webtim-shop-notice-dismissed .webtim-shop-notice {
	display: none;
}

/* !important: Elementor kit styles for <button> (background, font, padding) have higher specificity. */
.webtim-shop-notice__close {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--webtim-shop-notice-close-bg) !important;
	color: var(--webtim-shop-notice-close-color) !important;
	font-family: inherit !important;
	font-size: 24px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none;
	cursor: pointer;
	opacity: 0.8;
}

.webtim-shop-notice__close:hover,
.webtim-shop-notice__close:focus {
	opacity: 1;
	filter: brightness(1.15);
	box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.15);
	outline: none;
}

.webtim-shop-notice__close:focus-visible {
	outline: 2px solid var(--webtim-shop-notice-close-color);
	outline-offset: 1px;
}

/* Variant with a text label next to the icon. */
.webtim-shop-notice__close--text {
	width: auto;
	height: auto;
	padding: 4px 10px !important;
	border-radius: 16px !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

.webtim-shop-notice__close--text .webtim-shop-notice__close-icon {
	margin-left: 6px;
	font-size: 18px;
	vertical-align: -1px;
}

.webtim-shop-notice__inner p {
	margin: 0;
}

.webtim-shop-notice__inner p + p {
	margin-top: 4px;
}

/* !important: theme and Elementor global link styles have higher specificity. */
.webtim-shop-notice a,
.webtim-shop-notice a:visited {
	color: var(--webtim-shop-notice-link) !important;
	text-decoration: underline;
}

.webtim-shop-notice a:hover,
.webtim-shop-notice a:focus {
	color: var(--webtim-shop-notice-link) !important;
	opacity: 0.8;
}

@media (max-width: 785px) {
	.webtim-shop-notice {
		font-size: 14px;
		text-align: left;
	}

	.webtim-shop-notice__inner {
		padding: 10px 44px 10px 16px;
	}
}
