.os3mt-popup-root,
.os3mt-popup-overlay,
.os3mt-popup {
	box-sizing: border-box;
}

.os3mt-popup-overlay {
	align-items: center;
	background: rgba(17, 24, 39, 0.64);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 99999;
}

.os3mt-popup-overlay.is-open {
	display: flex;
}

.os3mt-popup {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	color: #1f2937;
	max-width: 420px;
	padding: 24px;
	position: relative;
	width: min(100%, 420px);
}

.os3mt-popup__close {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 10px;
}

.os3mt-popup__form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.os3mt-popup__form input[type="email"],
.os3mt-popup__form input[type="text"] {
	min-height: 42px;
	width: 100%;
}

.os3mt-popup__form button,
.os3mt-popup-trigger {
	background: #1b3a6b;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	min-height: 42px;
	padding: 10px 14px;
}

.os3mt-product-badge {
	border-radius: 6px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	left: 10px;
	line-height: 1.2;
	max-width: calc(100% - 20px);
	padding: 6px 8px;
	position: absolute;
	text-align: center;
	top: 10px;
	z-index: 5;
}

.os3mt-product-badge--top_right {
	left: auto;
	right: 10px;
}

.os3mt-countdown {
	background: #f4f7fb;
	border: 1px solid #d9e2ef;
	border-radius: 6px;
	margin: 12px 0;
	padding: 12px;
}

.os3mt-gift-bar {
	background: #ffffff;
	border: 1px solid #d9e2ef;
	border-radius: 6px;
	margin: 0 0 18px;
	padding: 12px;
}

.os3mt-gift-bar__track {
	background: #e5e7eb;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.os3mt-gift-bar__fill {
	background: #1b3a6b;
	height: 100%;
	transition: width 180ms ease;
}

.os3mt-qty-table {
	border: 1px solid #d9e2ef;
	border-radius: 6px;
	margin: 16px 0;
	padding: 12px;
}

.os3mt-qty-table h3 {
	font-size: 16px;
	margin: 0 0 10px;
}

.os3mt-qty-table table {
	border-collapse: collapse;
	width: 100%;
}

.os3mt-qty-table th,
.os3mt-qty-table td {
	border-top: 1px solid #e5e7eb;
	padding: 8px;
	text-align: left;
}

.os3mt-cart-notices {
	background: #f4f7fb;
	border: 1px solid #d9e2ef;
	border-radius: 6px;
	margin: 0 0 18px;
	padding: 12px;
}

.os3mt-cart-notices p {
	margin: 0;
}

.os3mt-cart-notices p + p {
	margin-top: 8px;
}
