/* Pricing Updates: migrated from the original Coster Water pricing plugin. */

.coster-pricing-float {
	position: fixed;
	top: 115px;
	right: 22px;
	z-index: 2147483000;
	width: 320px;
	max-width: calc(100vw - 32px);
	padding: 24px 22px 22px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
	border-top: 7px solid #0083ca;
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	opacity: 0;
	transform: translateY(-12px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.coster-pricing-float.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.coster-pricing-float button.coster-pricing-float__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #0083ca !important;
	color: #ffffff !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif !important;
	text-align: center !important;
	appearance: none;
	-webkit-appearance: none;
}

.coster-pricing-float button.coster-pricing-float__close span {
	display: block;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: 28px;
	font-weight: 400;
	line-height: 30px;
	text-align: center;
	transform: translateY(-1px);
}

.coster-pricing-float__eyebrow {
	display: inline-block;
	margin-bottom: 9px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 131, 202, 0.1);
	color: #0083ca;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.coster-pricing-float__title {
	margin: 0 0 8px;
	color: #212b37;
	font-size: 23px;
	line-height: 1.15;
	font-weight: 900;
}

.coster-pricing-float__text {
	margin: 0 0 16px;
	color: #373a5e;
	font-size: 15px;
	line-height: 1.45;
}

.coster-pricing-float__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #0083ca;
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 131, 202, 0.28);
}

.coster-pricing-float__button:hover,
.coster-pricing-float__button:focus {
	background: #006fae;
	color: #ffffff;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.coster-pricing-float {
		top: 145px;
		right: 14px;
		bottom: auto;
		left: 14px;
		width: auto;
		max-width: none;
		max-height: calc(100vh - 165px);
		overflow-y: auto;
		padding: 48px 20px 22px;
		border-radius: 18px;
		text-align: center;
		-webkit-overflow-scrolling: touch;
	}

	body.admin-bar .coster-pricing-float {
		top: 177px;
		max-height: calc(100vh - 197px);
	}

	.coster-pricing-float button.coster-pricing-float__close {
		top: 12px;
		right: 12px;
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		min-height: 38px !important;
	}

	.coster-pricing-float button.coster-pricing-float__close span {
		font-size: 31px;
		line-height: 34px;
		transform: translateY(-1px);
	}

	.coster-pricing-float__eyebrow {
		margin-bottom: 10px;
		font-size: 10px;
	}

	.coster-pricing-float__title {
		font-size: 21px;
	}

	.coster-pricing-float__text {
		margin-bottom: 15px;
		font-size: 14px;
	}

	.coster-pricing-float__button {
		min-height: 40px;
		padding: 10px 19px;
		font-size: 12px;
	}
}

@media (max-width: 380px) {
	.coster-pricing-float {
		top: 132px;
		right: 10px;
		left: 10px;
		max-height: calc(100vh - 150px);
		padding: 46px 16px 19px;
	}

	.coster-pricing-float__title {
		font-size: 19px;
	}
}

.summary.entry-summary .mds-coster-starting-price,
.mds-coster-starting-price {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 440px !important;
	margin: 18px 0 24px 0 !important;
	overflow: hidden !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 131, 202, 0.18) !important;
	border-radius: 18px !important;
	box-shadow: 0 16px 38px rgba(24, 43, 58, 0.12) !important;
	box-sizing: border-box !important;
	color: #182b3a !important;
	font-family: inherit !important;
	text-align: left !important;
	clear: both !important;
}

.mds-coster-starting-price__topline {
	display: block !important;
	height: 5px !important;
	background: linear-gradient(90deg, #0083ca 0%, #33a9e6 48%, #004f7c 100%) !important;
}

.mds-coster-starting-price__content {
	display: block !important;
	padding: 18px 20px 19px !important;
}

.mds-coster-starting-price__eyebrow {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 0 12px !important;
	padding: 5px 10px !important;
	border-radius: 999px !important;
	background: rgba(0, 131, 202, 0.1) !important;
	color: #0075b8 !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	letter-spacing: 0.09em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

.mds-coster-starting-price__row {
	display: block !important;
	padding: 0 !important;
}

.mds-coster-starting-price__row + .mds-coster-starting-price__row {
	margin-top: 14px !important;
	padding-top: 14px !important;
	border-top: 1px solid rgba(24, 43, 58, 0.1) !important;
}

.mds-coster-starting-price__label {
	display: block !important;
	margin: 0 0 4px !important;
	color: #4d5b66 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

.mds-coster-starting-price__price {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 6px !important;
	line-height: 1.1 !important;
}

.mds-coster-starting-price__amount {
	display: inline-block !important;
	color: #182b3a !important;
	font-size: 30px !important;
	font-weight: 900 !important;
	letter-spacing: -0.03em !important;
}

.mds-coster-starting-price__suffix {
	display: inline-block !important;
	color: #61717d !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
}

.mds-coster-starting-price__actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin: 16px 0 0 !important;
	padding: 16px 0 0 !important;
	border-top: 1px solid rgba(24, 43, 58, 0.1) !important;
}

.mds-coster-starting-price__action {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 9px 15px !important;
	border-radius: 999px !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.03em !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	box-sizing: border-box !important;
}

.mds-coster-starting-price__action--call {
	background: #0083ca !important;
	border: 1px solid #0083ca !important;
	color: #ffffff !important;
	box-shadow: 0 8px 18px rgba(0, 131, 202, 0.22) !important;
}

.mds-coster-starting-price__action--contact {
	background: #ffffff !important;
	border: 1px solid rgba(0, 131, 202, 0.38) !important;
	color: #0075b8 !important;
}

.mds-coster-starting-price__action--email {
	background: #ffffff !important;
	border: 1px solid rgba(0, 131, 202, 0.38) !important;
	color: #0075b8 !important;
}

.mds-coster-starting-price__action:hover,
.mds-coster-starting-price__action:focus {
	transform: translateY(-1px) !important;
	text-decoration: none !important;
}

.mds-coster-starting-price__action--call:hover,
.mds-coster-starting-price__action--call:focus {
	background: #006fae !important;
	border-color: #006fae !important;
	color: #ffffff !important;
}

.mds-coster-starting-price__action--contact:hover,
.mds-coster-starting-price__action--contact:focus {
	background: rgba(0, 131, 202, 0.08) !important;
	color: #006fae !important;
}

.mds-coster-starting-price__action--email:hover,
.mds-coster-starting-price__action--email:focus {
	background: rgba(0, 131, 202, 0.08) !important;
	border-color: #0083ca !important;
	color: #006fae !important;
}

@media (max-width: 767.98px) {
	.summary.entry-summary .mds-coster-starting-price,
	.mds-coster-starting-price {
		max-width: none !important;
		margin-top: 16px !important;
		border-radius: 16px !important;
	}

	.mds-coster-starting-price__content {
		padding: 16px 17px 17px !important;
	}

	.mds-coster-starting-price__amount {
		font-size: 26px !important;
	}

	.mds-coster-starting-price__suffix {
		font-size: 12px !important;
	}

	.mds-coster-starting-price__actions {
		gap: 8px !important;
		margin-top: 14px !important;
		padding-top: 14px !important;
	}

	.mds-coster-starting-price__action {
		flex: 1 1 100% !important;
		min-height: 40px !important;
		font-size: 12px !important;
	}
}

.mds-coster-loop-starting-price {
	display: block !important;
	width: fit-content !important;
	max-width: 100% !important;
	margin: 12px auto 0 0 !important;
	padding: 10px 13px 11px !important;
	border: 1px solid rgba(0, 131, 202, 0.2) !important;
	border-left: 4px solid #0083ca !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, rgba(0, 131, 202, 0.08) 0%, rgba(255, 255, 255, 0.98) 58%) !important;
	box-shadow: 0 10px 24px rgba(24, 43, 58, 0.08) !important;
	box-sizing: border-box !important;
	color: #182b3a !important;
	font-family: inherit !important;
	line-height: 1.15 !important;
	text-align: left !important;
	text-decoration: none !important;
}

.mds-coster-loop-starting-price__main {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 5px !important;
}

.mds-coster-loop-starting-price__label {
	display: inline-block !important;
	color: #53626e !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}

.mds-coster-loop-starting-price__amount {
	display: inline-block !important;
	color: #182b3a !important;
	font-size: 22px !important;
	font-weight: 900 !important;
	letter-spacing: -0.03em !important;
}

.mds-coster-loop-starting-price__suffix {
	display: inline-block !important;
	color: #647480 !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
}

.mds-coster-loop-starting-price__detail {
	display: block !important;
	margin-top: 5px !important;
	color: #4d5b66 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

ul.products li.product .mds-coster-loop-starting-price,
.woocommerce ul.products li.product .mds-coster-loop-starting-price,
.woocommerce-page ul.products li.product .mds-coster-loop-starting-price {
	margin-top: 12px !important;
}

@media (max-width: 767.98px) {
	.mds-coster-loop-starting-price {
		margin-top: 10px !important;
		padding: 9px 11px 10px !important;
		border-radius: 12px !important;
	}

	.mds-coster-loop-starting-price__amount {
		font-size: 19px !important;
	}
}
