/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.checkout-message {
	padding: 5px 10px;
	margin: 10px 0;
	font-weight: bold;
	background: #f8f8f8;
	border: 2px solid#436084;
	padding: 5px 10px;
	color: #436084;
}

.price-wrapper > a {
	margin: 0;
	padding: 0px 12px;
	width: fit-content;
	box-sizing: border-box;
}

.add-to-cart-button .button {
	display: inline-flex;
	width: fit-content;
	border-radius: 25px;
	opacity: 1;
	text-align: center;
	font: normal normal bold 14px/17px Lato;
	letter-spacing: 0px;
	text-transform: uppercase;
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;

	background-color: #446085;
	color: #fff;
	margin: 0 !important;
	height: fit-content;
}

.price-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	align-items: center;
}

.price-wrapper .price {
	width: 100%;
}

.add-to-cart-button .button:hover {
	background-color: #f0f1f2;
	color: #446085;
}

.price-wrapper > .add-to-cart-button,
.price-wrapper > .add-to-cart-button + a {
	display: inline-flex;
	width: fit-content;
	margin: 0 !important;
	/* height: fit-content !important; */
	font-size: normal normal bold 14px/17px Lato;
	height: 28px !important;
}

.ProductPopup {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	inset: 0 0 0 0;
	z-index: 1000000000;
	background: #00000070;
	cursor: pointer;
}

.mfp-wrap,
.mfp-bg {
	z-index: 1000000002 !important;
}

.ProductPopup[data-open='false'] {
	display: none;
}

.ProductModal {
	height: 95vh;
	width: 900px;
	background: white;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 4px;
	position: relative;
}

.ProductModalClose {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	cursor: pointer;
	z-index: 100;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 20px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
	background-color: #fff;
}

.ProductModalViewPage {
	position: absolute;
	top: 10px;
	right: 60px;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	cursor: pointer;
	z-index: 100;
	width: fit-content;
	height: 40px;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 20px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
	background-color: #fff;
}

.ProductModalViewPage:hover,
.ProductModalClose:hover {
	background-color: #e6e6e6;
}

.ProductModalContent {
	max-height: 100%;
	overflow: scroll;
}

.ProductModalContent a.added_to_cart {
	display: block;
}

.ProductModalLoading {
	position: absolute;
	inset: 50% 50%;
	translate: -50% -50%;
	font-size: 30px;
	text-align: center;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding-left: 50px;
	gap: 10px;
	width: fit-content;
	height: fit-content;
}

.ProductModalLoading:before {
	content: '';
	/* position: absolute;
	top: 50%;
	left: 50%; */
	/* margin-top: -30px;
	margin-left: -30px; */
	width: 30px;
	min-width: 30px;
	height: 30px;
	border-radius: 50px;
	border: 5px solid grey;
	border-top-color: black;
	animation: loading 2s linear infinite;
}

@keyframes loading {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@media screen and (max-width: 930px) {
	.ProductModal {
		max-width: calc(100vw - 20px);
		padding: 5px;
	}
}
