/* On checkout, back the floating header pill with the page color so scrolled
   content slides cleanly underneath instead of showing through around it */
.page-id-16 #site-header {
	background: rgb(12, 12, 20) !important;
	padding-bottom: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Clear the fixed navbar: give the checkout breathing room at the top */
.monetro-checkout-layout {
	margin-top: 110px !important;
}
@media (max-width: 768px) {
	.monetro-checkout-layout {
		margin-top: 90px !important;
	}
}

/* ---- Payment section: flatten box-in-box and style methods as clean cards ---- */
#order_review,
#payment.woocommerce-checkout-payment {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}
#payment ul.wc_payment_methods {
	list-style: none !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 0 14px 0 !important;
}
#payment ul.wc_payment_methods li.wc_payment_method {
	background: #1a1d2b !important;
	border: 1px solid #2c3044 !important;
	border-radius: 10px !important;
	padding: 4px 16px !important;
	margin: 0 0 10px 0 !important;
	transition: border-color 0.15s ease, background 0.15s ease;
}
#payment ul.wc_payment_methods li.wc_payment_method:hover {
	border-color: #4a5070 !important;
}
#payment ul.wc_payment_methods li.wc_payment_method:has(input:checked) {
	border-color: #f2545b !important;
	background: #1e1a26 !important;
}
/* PSP card content (built by JS) */
#payment li.wc_payment_method input[name="payment_method"] {
	display: none !important;
}
#payment li.wc_payment_method > label {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.mco-psp__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 0;
	flex: 1 1 auto;
}
.mco-psp__radio {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #4a5070;
	position: relative;
	transition: border-color 0.15s ease;
}
#payment li.wc_payment_method:has(input:checked) .mco-psp__radio {
	border-color: #f2545b;
}
#payment li.wc_payment_method:has(input:checked) .mco-psp__radio::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #f2545b;
}
.mco-psp__title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.mco-psp__title {
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
}
.mco-psp__badge {
	font-size: 11px;
	font-weight: 600;
	color: #f2545b;
	border: 1px solid #f2545b;
	border-radius: 999px;
	padding: 2px 10px;
	line-height: 1.4;
}
.mco-psp__supporting {
	display: flex;
	align-items: center;
	gap: 8px;
}
.mco-psp__supporting-text {
	font-size: 12px;
	color: #8b90a5;
}
.mco-psp__logo-pill {
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	border-radius: 6px;
	padding: 3px 8px;
}
.mco-psp__logo {
	height: 16px !important;
	width: auto !important;
	max-width: 90px;
	display: block;
	object-fit: contain;
}
.mco-psp__logo--wide {
	height: 20px !important;
	max-width: 220px;
}
@media (max-width: 768px) {
	.mco-psp__logo--wide {
		height: 14px !important;
		max-width: 160px;
	}
}

#payment ul.wc_payment_methods li.wc_payment_method > label {
	display: inline-block;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	font-weight: 600;
}
#payment div.payment_box {
	background: #12141f !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
	margin: 0 0 10px 0 !important;
	color: #aab0c5 !important;
}
#payment div.payment_box::before {
	display: none !important;
}
#payment .woocommerce-privacy-policy-text,
#payment .woocommerce-privacy-policy-text p {
	color: #8b90a5 !important;
	font-size: 13px !important;
	line-height: 1.5;
}
#payment .woocommerce-terms-and-conditions-wrapper {
	margin: 18px 0 16px 0 !important;
	padding: 16px 0 0 0 !important;
	border-top: 1px solid #2c3044;
}
#payment .woocommerce-privacy-policy-text p {
	margin: 0 0 12px 0 !important;
}
#payment .woocommerce-privacy-policy-text a,
#payment .woocommerce-terms-and-conditions-checkbox-text a {
	color: #f2545b !important;
	text-decoration: underline;
}
#payment .form-row.validate-required,
#payment p.form-row {
	padding: 0 !important;
	margin: 0 0 14px 0 !important;
	width: 100% !important;
	float: none !important;
	display: block !important;
}
#payment .woocommerce-terms-and-conditions-wrapper,
#payment label.woocommerce-form__label-for-checkbox {
	width: 100% !important;
	box-sizing: border-box;
}
#payment label.woocommerce-form__label-for-checkbox {
	display: block !important;
	position: relative;
	padding-left: 26px !important;
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.5;
	color: #c6cadb !important;
	font-weight: 400 !important;
}
#payment label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	accent-color: #f2545b;
}
#payment label.woocommerce-form__label-for-checkbox abbr.required,
#payment .form-row .required {
	color: #f2545b;
	text-decoration: none;
	margin-left: 2px;
}
#payment .woocommerce-terms-and-conditions-checkbox-text {
	display: inline;
}

/* Hide the duplicate sticky "Complete Purchase" bar - single CTA is #place_order */
.checkout-sticky-bar {
	display: none !important;
}

/* Platform section is hidden by JS (text-matched); fallback class added there */
.mco-hide {
	display: none !important;
}

/* intl-tel-input inside the Woo form */
.woocommerce-checkout .iti {
	width: 100%;
}
.woocommerce-checkout .iti input#billing_phone {
	width: 100%;
	padding-left: 52px;
}
/* Show/hide is class-driven so the widget can close its own dropdown */
.iti__dropdown-content:not(.iti__hide) {
	display: block !important;
}
.iti__dropdown-content.iti__hide {
	display: none !important;
}

.iti__country-list .iti__country.iti__highlight,
.iti__country-list .iti__country:hover {
	background: #232738 !important;
}
