/**
 * Advanced WooCommerce Category Banner – structural styles.
 * Sizes, colors and typography come from CSS custom properties set on each
 * banner element (see the small generated stylesheet printed after this file).
 */
.awcb-banner {
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 var(--awcb-mb, 30px);
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--awcb-radius, 0);
	background-color: var(--awcb-bg, #000);
	color: var(--awcb-color, #fff);
	clear: both;
}

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

.awcb-banner.awcb--full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-radius: 0;
}

.awcb-banner.awcb--custom {
	width: min(var(--awcb-bw, 1200px), 100vw);
	max-width: none;
	margin-left: calc(50% - min(var(--awcb-bw, 1200px), 100vw) / 2);
	margin-right: calc(50% - min(var(--awcb-bw, 1200px), 100vw) / 2);
}

.awcb-banner.awcb--auto-height {
	min-height: 0 !important;
}

/* Background image: a real <img> so the browser can pick a smaller file on phones. */
.awcb-banner .awcb-banner__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: var(--awcb-fit, cover);
}

/* Overlay: its own layer, so its opacity never touches the text. */
.awcb-banner.awcb--overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--awcb-ovbg, #000);
	pointer-events: none;
}

.awcb-banner .awcb-banner__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}

.awcb-banner .awcb-banner__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.awcb-banner .awcb-banner__title {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	overflow-wrap: break-word;
	text-shadow: none;
}

.awcb-banner .awcb-banner__title::before,
.awcb-banner .awcb-banner__title::after {
	content: none;
}

.awcb-banner .awcb-banner__sep {
	display: block;
	margin: 0.9em 0 0.75em;
	font-size: 16px;
	line-height: 0;
	opacity: 0.85;
}

.awcb-banner .awcb-banner__sep svg {
	display: block;
	width: 14.5em;
	max-width: 100%;
	height: auto;
}

.awcb-banner .awcb-banner__desc {
	width: 100%;
	margin: 0;
}

.awcb-banner.awcb--has-desc .awcb-banner__title + .awcb-banner__desc {
	margin-top: 0.9em;
}

.awcb-banner .awcb-banner__desc > :first-child {
	margin-top: 0;
}

.awcb-banner .awcb-banner__desc > :last-child {
	margin-bottom: 0;
}

.awcb-banner .awcb-banner__desc p {
	margin: 0 0 0.8em;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
}

.awcb-banner .awcb-banner__desc h1,
.awcb-banner .awcb-banner__desc h2,
.awcb-banner .awcb-banner__desc h3,
.awcb-banner .awcb-banner__desc h4,
.awcb-banner .awcb-banner__desc h5,
.awcb-banner .awcb-banner__desc h6 {
	margin: 0 0 0.5em;
	color: inherit;
	font-family: inherit;
	line-height: 1.25;
}

.awcb-banner .awcb-banner__desc a {
	color: inherit;
	text-decoration: underline;
}

.awcb-banner .awcb-banner__desc ul,
.awcb-banner .awcb-banner__desc ol {
	margin: 0 0 0.8em;
	padding: 0;
	list-style-position: inside;
}

.awcb-banner .awcb-banner__desc li {
	margin: 0 0 0.25em;
	color: inherit;
}

/* Shown only inside the Elementor editor when no category can be detected. */
.awcb-editor-note {
	padding: 24px;
	border: 1px dashed #9aa0a6;
	background: #f6f7f7;
	color: #1d2327;
	font-size: 14px;
	text-align: center;
}
