
.rcp-5a-free-shipping-notice-wrap {
	margin: 0 0 14px;
}

.rcp-5a-free-shipping-notice-mini {
	margin: 10px 0 12px;
}

.rcp-5a-free-shipping-notice-checkout {
	margin: 0 0 18px;
}

.rcp-5a-free-shipping-notice {
	--rcp-5a-fsn-green: #2f8f1f;
	--rcp-5a-fsn-blue: #00469b;
	--rcp-5a-fsn-gold: #f2b51d;
	--rcp-5a-fsn-bg: #fff8e6;
	--rcp-5a-fsn-border: #e8c36a;
	display: flex;
	align-items: center;
	gap: 16px;
	border: 1px solid var(--rcp-5a-fsn-border);
	background: radial-gradient(circle at 8% 15%, #fff2bd 0, #fff8e6 38%, #fffdf5 100%);
	border-radius: 8px;
	padding: 13px 15px;
	font-size: 14px;
	line-height: 1.35;
	color: #222;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.rcp-5a-free-shipping-notice__icon {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rcp-5a-free-shipping-notice__icon-img {
	width: 80px;
	height: 80px;
	display: block;
	object-fit: contain;
}

.rcp-5a-free-shipping-notice__content {
	flex: 1 1 auto;
	min-width: 0;
}

.rcp-5a-free-shipping-notice__message {
	font-weight: 600;
	margin: 0;
}

.rcp-5a-free-shipping-notice__amount {
	color: var(--rcp-5a-fsn-blue);
	font-size: 1.85em;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.rcp-5a-free-shipping-notice__free-label {
	font-weight: 700;
}

.rcp-5a-free-shipping-notice__message a {
	color: var(--rcp-5a-fsn-blue);
	font-size: 12px;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.rcp-5a-free-shipping-notice__progress {
	position: relative;
	margin-top: 8px;
	padding-bottom: 28px;
}

.rcp-5a-free-shipping-notice__bar {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		var(--rcp-5a-fsn-green) 0,
		var(--rcp-5a-fsn-green) var(--rcp-5a-fsn-progress),
		var(--rcp-5a-fsn-blue) var(--rcp-5a-fsn-progress),
		var(--rcp-5a-fsn-blue) 100%
	);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.rcp-5a-free-shipping-notice__bar::after {
	content: "";
	position: absolute;
	top: 50%;
	left: var(--rcp-5a-fsn-progress);
	width: 13px;
	height: 13px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--rcp-5a-fsn-green);
	box-shadow: 0 0 0 1px rgba(47, 143, 31, 0.75);
	transform: translate(-50%, -50%);
}

.rcp-5a-free-shipping-notice.is-unlocked .rcp-5a-free-shipping-notice__bar {
	background: var(--rcp-5a-fsn-green);
}

.rcp-5a-free-shipping-notice.is-unlocked .rcp-5a-free-shipping-notice__label-current {
	display: none;
}

.rcp-5a-free-shipping-notice__label {
	position: absolute;
	top: 15px;
	z-index: 1;
	padding: 3px 8px;
	border-radius: 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.rcp-5a-free-shipping-notice__label::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 100%;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 7px solid currentColor;
	transform: translateX(-50%);
}

.rcp-5a-free-shipping-notice__label-current {
	left: var(--rcp-5a-fsn-label-left);
	color: var(--rcp-5a-fsn-green);
	border: 1px solid rgba(47, 143, 31, 0.45);
	background: #fff;
	transform: translateX(-50%);
}

.rcp-5a-free-shipping-notice__label-current::before {
	color: var(--rcp-5a-fsn-green);
}


.woocommerce-mini-cart .rcp-5a-free-shipping-notice,
.rcp-5a-free-shipping-notice-mini .rcp-5a-free-shipping-notice {
	gap: 9px;
	padding: 10px 11px;
	font-size: 12.5px;
	border-radius: 7px;
}


.woocommerce-mini-cart .rcp-5a-free-shipping-notice__amount,
.rcp-5a-free-shipping-notice-mini .rcp-5a-free-shipping-notice__amount {
	font-size: 1.55em;
}

.woocommerce-mini-cart .rcp-5a-free-shipping-notice__progress,
.rcp-5a-free-shipping-notice-mini .rcp-5a-free-shipping-notice__progress {
	padding-bottom: 24px;
}

.woocommerce-mini-cart .rcp-5a-free-shipping-notice__label,
.rcp-5a-free-shipping-notice-mini .rcp-5a-free-shipping-notice__label {
	font-size: 10px;
	padding: 2px 6px;
}


@media (max-width: 480px) {
	.rcp-5a-free-shipping-notice {
		align-items: flex-start;
		gap: 10px;
		padding: 11px 12px;
	}

	.rcp-5a-free-shipping-notice__icon {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	.rcp-5a-free-shipping-notice__icon-img {
		width: 60px;
		height: 60px;
	}

	.rcp-5a-free-shipping-notice__amount {
		font-size: 1.55em;
	}

	.rcp-5a-free-shipping-notice__label {
		font-size: 10px;
	}
}

.rcp-5a-fsn-admin-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 20px;
	align-items: start;
}

.rcp-5a-fsn-box .hndle {
	padding: 12px 16px;
	margin: 0;
	border-bottom: 1px solid #ccd0d4;
}

.rcp-5a-fsn-box .inside {
	padding: 12px 16px;
	margin: 0;
}

.rcp-5a-fsn-status-list {
	margin: 0 0 12px;
}

.rcp-5a-fsn-status-list li {
	margin: 0 0 8px;
}

.rcp-5a-fsn-status-pill {
	display: inline-block;
	min-width: 32px;
	margin-right: 8px;
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.rcp-5a-fsn-status-pill.is-ok {
	background: #e7f6e7;
	color: #1b6b1b;
}

.rcp-5a-fsn-status-pill.is-bad {
	background: #fdeaea;
	color: #8a1f1f;
}

.rcp-5a-free-shipping-notice-preview {
	margin-top: 10px;
}

.rcp-5a-fsn-rules-table td,
.rcp-5a-fsn-rules-table th {
	vertical-align: top;
}

@media (max-width: 1100px) {
	.rcp-5a-fsn-admin-grid {
		grid-template-columns: 1fr;
	}
}
