/*
 * Beziworld Conditional Shipping Rules: storefront output. Colours inherit from
 * the theme where possible; the bar uses a neutral accent that themes can
 * change through the --bwts-accent custom property.
 */
.bwts-free-notice {
	--bwts-accent: #14824d;
	margin: 0 0 1em;
	padding: .75em 1em;
	border: 1px solid rgba(0, 0, 0, .12);
	border-left: 4px solid var(--bwts-accent);
	border-radius: 4px;
	background: rgba(20, 130, 77, .06);
	font-size: .95em;
}

.bwts-free-notice__text {
	margin: 0;
}

.bwts-free-notice__bar {
	height: 8px;
	margin-top: .5em;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(0, 0, 0, .1);
}

.bwts-free-notice__bar > span {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--bwts-accent);
	transition: width .3s ease;
}

.bwts-free-notice__link {
	display: inline-block;
	margin-top: .5em;
}

.bwts-free-notice--mini-cart {
	margin: .5em 0 1em;
}

.bwts-rate-details {
	display: block;
	margin: .2em 0 .4em;
	font-size: .875em;
	opacity: .85;
}

.bwts-rate-details > span {
	display: block;
}

.bwts-debug {
	margin: 1em 0;
	padding: .75em 1em;
	border: 1px dashed #b26200;
	border-radius: 4px;
	background: #fff8e5;
	color: #3c2a00;
	font-size: 13px;
	line-height: 1.5;
}

.bwts-debug__title {
	margin: 0 0 .5em;
	font-weight: 700;
}

.bwts-debug__facts {
	display: flex;
	flex-wrap: wrap;
	gap: .25em 1em;
	margin: .5em 0;
	padding: 0;
	list-style: none;
}

.bwts-debug__rules,
.bwts-debug__rules ul {
	margin: .25em 0 .5em 1.5em;
}

.bwts-debug__method + .bwts-debug__method {
	margin-top: .75em;
}
