/* OMC Tier Pricing - storefront styles. Colours come from --omctp-* variables set in the page. */

/* ---- Top banner -------------------------------------------------------- */
.omctp-banner {
	background: var(--omctp-bg, #0e6b66);
	color: var(--omctp-text, #fff);
	text-align: center;
	font-size: 14px;
	line-height: 1.45;
	padding: 7px 15px;
	position: relative;
	z-index: 10;
	box-sizing: border-box;
	width: 100%;
}
.omctp-banner:empty,
.omctp-notice-slot:empty {
	display: none;
}
.omctp-banner--late {
	margin: 0;
}
.omctp-banner--inline {
	border-radius: 3px;
	margin: 0 0 16px;
}
.omctp-row {
	max-width: 1080px;
	margin: 0 auto;
	padding: 2px 0;
}
.omctp-banner .omctp-row + .omctp-row {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	margin-top: 5px;
	padding-top: 6px;
}
.omctp-banner strong {
	color: var(--omctp-accent, #ffe08a);
	font-weight: 700;
}
.omctp-banner a {
	color: inherit;
	text-decoration: underline;
	font-weight: 600;
	white-space: nowrap;
	margin-left: 4px;
}
.omctp-banner a:hover {
	opacity: 0.85;
}

/* Progress bar toward the next tier */
.omctp-meter {
	display: block;
	max-width: 340px;
	height: 5px;
	margin: 6px auto 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.28);
	overflow: hidden;
}
.omctp-meter > span {
	display: block;
	height: 100%;
	background: var(--omctp-accent, #ffe08a);
	border-radius: 3px;
	transition: width 0.35s ease;
}

/* ---- Cart / checkout notice ------------------------------------------- */
.omctp-notice {
	margin: 0 0 20px;
	border: 1px solid var(--omctp-bg, #0e6b66);
	border-left-width: 5px;
	border-radius: 3px;
	background: #f7f7f7;
	padding: 10px 14px;
	color: #222;
	font-size: 14px;
	line-height: 1.5;
}
.omctp-notice .omctp-row {
	max-width: none;
	padding: 3px 0;
}
.omctp-notice .omctp-row + .omctp-row {
	border-top: 1px dashed rgba(0, 0, 0, 0.18);
	margin-top: 6px;
	padding-top: 7px;
}
.omctp-notice strong {
	color: var(--omctp-bg, #0e6b66);
}
.omctp-notice a {
	font-weight: 600;
	margin-left: 6px;
}
.omctp-notice .omctp-meter {
	background: rgba(0, 0, 0, 0.1);
	margin: 6px 0 2px;
	max-width: 340px;
}
.omctp-notice .omctp-meter > span {
	background: var(--omctp-bg, #0e6b66);
}

/* ---- Mini cart (flyout) ------------------------------------------------ */
.omctp-mini {
	margin: 8px 0 10px;
	padding: 8px 10px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.04);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}
.omctp-mini p {
	margin: 0 0 4px;
}
.omctp-mini p:last-child {
	margin-bottom: 0;
}
.omctp-mini__saved {
	font-weight: 700;
	color: #1b7a3a;
}
.omctp-mini strong {
	color: var(--omctp-bg, #0e6b66);
}

/* ---- Cart / checkout totals line -------------------------------------- */
.omctp-savings-row td {
	text-align: center;
	font-weight: 600;
	color: #1b7a3a;
}

/* ---- Prices ------------------------------------------------------------ */
.omctp-price {
	display: inline;
}
.omctp-price del,
.omctp-was {
	opacity: 0.6;
	margin-right: 0.3em;
}
.omctp-price ins,
.omctp-now {
	text-decoration: none;
}

/* ---- Product page tier table ------------------------------------------ */
.omctp-box {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 3px;
	background: #fafafa;
	font-size: 14px;
	line-height: 1.45;
}
.omctp-box__title {
	font-weight: 700;
	margin-bottom: 8px;
}
.omctp-box__title span {
	font-weight: 400;
	opacity: 0.7;
	margin-left: 6px;
}
.omctp-box__table {
	width: 100%;
	margin: 0 0 8px;
	border-collapse: collapse;
	font-size: 13px;
}
.omctp-box__table th,
.omctp-box__table td {
	padding: 4px 8px;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: none;
}
.omctp-box__table thead th {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.65;
}
.omctp-box__row.is-active th,
.omctp-box__row.is-active td {
	background: var(--omctp-bg, #0e6b66);
	color: var(--omctp-text, #fff);
	font-weight: 700;
}
.omctp-box__msg {
	font-size: 13px;
}
.omctp-box__msg strong {
	color: var(--omctp-bg, #0e6b66);
}

@media (max-width: 549px) {
	.omctp-banner {
		font-size: 13px;
		padding: 6px 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.omctp-meter > span {
		transition: none;
	}
}
