/* Mansurge Checkout Page v1.0 — Luxury Final */

.ms-checkout-page{
	--bg:#0b1010;
	--panel:#111717;
	--panel2:#151c1c;
	--line:rgba(197,165,114,.18);
	--softline:rgba(255,255,255,.07);
	--gold:#c5a572;
	--gold2:#d8bc8c;
	--white:#f5f3ee;
	--soft:#c8cccc;
	--muted:#858d8d;
	background:var(--bg);
	color:var(--white);
	overflow:hidden;
}

.ms-checkout-page *,
.ms-checkout-page *::before,
.ms-checkout-page *::after{
	box-sizing:border-box;
}

.ms-checkout-page a{
	color:inherit;
}

.ms-checkout-shell{
	width:min(1180px,calc(100% - 48px));
	margin-inline:auto;
}

.ms-checkout-eyebrow{
	margin:0 0 17px;
	color:var(--gold);
	font-size:12px;
	font-weight:700;
	letter-spacing:.16em;
	text-transform:uppercase;
}

.ms-checkout-hero{
	padding:clamp(68px,8vw,112px) 0 64px;
}

.ms-checkout-hero-grid{
	display:grid;
	grid-template-columns:minmax(0,1fr) 300px;
	gap:70px;
	align-items:end;
}

.ms-checkout-hero h1{
	max-width:800px;
	margin:0 0 24px;
	font-size:clamp(46px,6vw,82px);
	line-height:.98;
	letter-spacing:-.045em;
	text-wrap:balance;
}

.ms-checkout-hero h1 span{
	color:var(--gold);
}

.ms-checkout-lead{
	max-width:670px;
	margin:0;
	color:var(--soft);
	font-size:17px;
	line-height:1.8;
}

.ms-checkout-hero-note{
	padding:24px 0 4px 24px;
	border-left:1px solid var(--line);
}

.ms-checkout-hero-note span{
	display:block;
	margin-bottom:30px;
	color:var(--gold);
	font-size:11px;
	letter-spacing:.12em;
}

.ms-checkout-hero-note p{
	margin:0;
	color:var(--muted);
	font-size:13px;
	line-height:1.7;
}

.ms-checkout-commerce{
	padding:25px 0 100px;
}

.ms-checkout-native .woocommerce{
	color:var(--white);
}

.ms-checkout-native form.checkout{
	display:grid;
	grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);
	gap:32px;
	align-items:start;
}

.ms-checkout-native #customer_details,
.ms-checkout-native #order_review_heading,
.ms-checkout-native #order_review{
	float:none!important;
	width:auto!important;
}

.ms-checkout-native #customer_details{
	display:block;
}

.ms-checkout-native .col2-set{
	width:100%!important;
}

.ms-checkout-native .col2-set .col-1,
.ms-checkout-native .col2-set .col-2{
	float:none!important;
	width:100%!important;
}

.ms-checkout-native .woocommerce-billing-fields,
.ms-checkout-native .woocommerce-shipping-fields,
.ms-checkout-native .woocommerce-additional-fields{
	margin-bottom:24px;
	padding:28px;
	border:1px solid var(--line);
	border-radius:22px;
	background:var(--panel);
}

.ms-checkout-native h3{
	margin:0 0 22px!important;
	color:var(--white);
	font-size:25px!important;
	line-height:1.2;
	letter-spacing:-.02em;
}

.ms-checkout-native .form-row{
	margin:0 0 16px!important;
	padding:0!important;
}

.ms-checkout-native .form-row label{
	margin-bottom:7px!important;
	color:var(--gold2)!important;
	font-size:12px!important;
	font-weight:600!important;
}

.ms-checkout-native .form-row .required{
	color:var(--gold)!important;
	text-decoration:none!important;
}

.ms-checkout-native input.input-text,
.ms-checkout-native textarea,
.ms-checkout-native select,
.ms-checkout-native .select2-container .select2-selection--single{
	width:100%!important;
	min-height:50px!important;
	border:1px solid var(--line)!important;
	border-radius:13px!important;
	background:#0d1313!important;
	color:var(--white)!important;
	box-shadow:none!important;
}

.ms-checkout-native input.input-text,
.ms-checkout-native textarea{
	padding:12px 14px!important;
}

.ms-checkout-native textarea{
	min-height:120px!important;
	resize:vertical;
}

.ms-checkout-native input.input-text:focus,
.ms-checkout-native textarea:focus,
.ms-checkout-native select:focus{
	border-color:rgba(197,165,114,.5)!important;
	outline:0!important;
	box-shadow:0 0 0 4px rgba(197,165,114,.05)!important;
}

.ms-checkout-native .select2-container .select2-selection--single{
	display:flex!important;
	align-items:center;
}

.ms-checkout-native .select2-container--default .select2-selection--single .select2-selection__rendered{
	color:var(--white)!important;
	padding-left:14px!important;
	line-height:48px!important;
}

.ms-checkout-native .select2-container--default .select2-selection--single .select2-selection__arrow{
	height:48px!important;
	right:10px!important;
}

.ms-checkout-native #order_review_heading{
	margin:0 0 14px!important;
	padding:0 4px;
	color:var(--gold)!important;
	font-size:12px!important;
	font-weight:700!important;
	letter-spacing:.14em!important;
	text-transform:uppercase;
}

.ms-checkout-native #order_review{
	position:sticky;
	top:28px;
	padding:26px;
	border:1px solid var(--line);
	border-radius:22px;
	background:
		radial-gradient(
			circle at 90% 0,
			rgba(197,165,114,.05),
			transparent 32%
		),
		var(--panel);
}

.ms-checkout-native table.shop_table{
	width:100%;
	margin:0 0 26px!important;
	border:0!important;
	border-collapse:collapse!important;
	background:transparent!important;
	color:var(--white)!important;
}

.ms-checkout-native table.shop_table th,
.ms-checkout-native table.shop_table td{
	padding:14px 0!important;
	border:0!important;
	border-bottom:1px solid var(--softline)!important;
	background:transparent!important;
}

.ms-checkout-native table.shop_table th{
	color:var(--muted)!important;
	font-size:11px!important;
	letter-spacing:.04em;
}

.ms-checkout-native table.shop_table td{
	color:var(--soft)!important;
	font-size:13px!important;
}

.ms-checkout-native .product-name{
	color:var(--white)!important;
	font-weight:600!important;
}

.ms-checkout-native .product-total,
.ms-checkout-native .cart-subtotal td,
.ms-checkout-native .order-total td{
	color:var(--gold2)!important;
	font-weight:700!important;
}

.ms-checkout-native .order-total strong{
	color:var(--gold2)!important;
	font-size:17px!important;
}

.ms-checkout-native #payment{
	border:1px solid var(--softline)!important;
	border-radius:18px!important;
	background:#0d1313!important;
}

.ms-checkout-native #payment ul.payment_methods{
	margin:0!important;
	padding:0!important;
	border:0!important;
}

.ms-checkout-native #payment ul.payment_methods li{
	margin:0!important;
	padding:17px 18px!important;
	border-bottom:1px solid var(--softline);
	color:var(--white)!important;
}

.ms-checkout-native #payment ul.payment_methods li:last-child{
	border-bottom:0;
}

.ms-checkout-native #payment div.payment_box{
	margin:13px 0 0!important;
	padding:14px!important;
	border-radius:12px!important;
	background:var(--panel2)!important;
	color:var(--soft)!important;
	font-size:12px!important;
	line-height:1.65!important;
}

.ms-checkout-native #payment div.payment_box::before{
	border-bottom-color:var(--panel2)!important;
}

.ms-checkout-native #payment .place-order{
	margin:0!important;
	padding:20px 18px!important;
	border-top:1px solid var(--softline);
}

.ms-checkout-native #place_order{
	width:100%!important;
	min-height:54px!important;
	margin:0!important;
	padding:13px 22px!important;
	border:1px solid var(--gold)!important;
	border-radius:999px!important;
	background:var(--gold)!important;
	color:#0b1010!important;
	font-size:14px!important;
	font-weight:800!important;
}

.ms-checkout-native .woocommerce-privacy-policy-text,
.ms-checkout-native .woocommerce-terms-and-conditions-wrapper{
	color:var(--muted)!important;
	font-size:11px!important;
	line-height:1.6!important;
}

.ms-checkout-native .woocommerce-privacy-policy-text a,
.ms-checkout-native .woocommerce-terms-and-conditions-wrapper a{
	color:var(--gold2)!important;
}

.ms-checkout-native .woocommerce-form-coupon-toggle,
.ms-checkout-native .woocommerce-form-login-toggle{
	margin-bottom:18px;
}

.ms-checkout-native .woocommerce-info{
	position:relative;
	margin:0 0 14px!important;
	padding:15px 18px 15px 52px!important;
	border:1px solid var(--line)!important;
	border-top:1px solid var(--line)!important;
	border-radius:14px!important;
	background:var(--panel)!important;
	color:var(--soft)!important;
}

.ms-checkout-native .woocommerce-info::before{
	position:absolute!important;
	left:18px!important;
	top:50%!important;
	margin:0!important;
	color:var(--gold)!important;
	transform:translateY(-50%)!important;
}

.ms-checkout-native form.checkout_coupon,
.ms-checkout-native form.login{
	margin:0 0 24px!important;
	padding:22px!important;
	border:1px solid var(--line)!important;
	border-radius:18px!important;
	background:var(--panel)!important;
}

.ms-checkout-confidence{
	padding:84px 0;
	border-top:1px solid var(--softline);
}

.ms-checkout-confidence-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:18px;
}

.ms-checkout-confidence-grid>div{
	min-height:220px;
	padding:28px;
	border:1px solid var(--line);
	border-radius:22px;
	background:var(--panel);
}

.ms-checkout-confidence-grid span{
	display:block;
	margin-bottom:50px;
	color:var(--gold);
	font-size:11px;
	letter-spacing:.12em;
}

.ms-checkout-confidence-grid strong{
	display:block;
	margin-bottom:10px;
	font-size:18px;
}

.ms-checkout-confidence-grid p{
	margin:0;
	color:var(--muted);
	font-size:14px;
	line-height:1.7;
}

.ms-checkout-secondary{
	padding:15px 0 120px;
}

.ms-checkout-secondary-card{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:50px;
	padding:clamp(34px,6vw,70px);
	border:1px solid var(--line);
	border-radius:30px;
	background:
		radial-gradient(
			circle at 90% 0,
			rgba(197,165,114,.09),
			transparent 32%
		),
		var(--panel);
}

.ms-checkout-secondary-card h2{
	max-width:700px;
	margin:0 0 14px;
	font-size:clamp(32px,4vw,52px);
	line-height:1.05;
	letter-spacing:-.035em;
}

.ms-checkout-secondary-card p:not(.ms-checkout-eyebrow){
	max-width:650px;
	margin:0;
	color:var(--soft);
	line-height:1.75;
}

.ms-checkout-secondary-actions{
	display:flex;
	flex:0 0 auto;
	flex-wrap:wrap;
	gap:10px;
	justify-content:flex-end;
}

.ms-checkout-btn{
	display:inline-flex;
	min-height:50px;
	align-items:center;
	justify-content:center;
	padding:12px 22px;
	border:1px solid var(--line);
	border-radius:999px;
	text-decoration:none!important;
	font-size:13px;
	font-weight:700;
}

.ms-checkout-btn-primary{
	border-color:var(--gold);
	background:var(--gold);
	color:#0b1010!important;
}

.ms-checkout-empty{
	min-height:70vh;
	display:grid;
	align-items:center;
	padding:100px 0;
}

.ms-checkout-empty h1{
	max-width:760px;
	margin:0 0 22px;
	font-size:clamp(46px,6vw,76px);
	line-height:1;
	letter-spacing:-.04em;
}

.ms-checkout-empty p:not(.ms-checkout-eyebrow){
	max-width:620px;
	margin-bottom:28px;
	color:var(--soft);
	font-size:17px;
	line-height:1.8;
}

@media(max-width:980px){

	.ms-checkout-hero-grid{
		grid-template-columns:1fr;
		gap:36px;
	}

	.ms-checkout-hero-note{
		max-width:500px;
	}

	.ms-checkout-native form.checkout{
		grid-template-columns:1fr;
	}

	.ms-checkout-native #order_review{
		position:static;
	}

	.ms-checkout-confidence-grid{
		grid-template-columns:1fr 1fr;
	}

	.ms-checkout-secondary-card{
		align-items:flex-start;
		flex-direction:column;
	}

	.ms-checkout-secondary-actions{
		width:100%;
		justify-content:flex-start;
	}

}

@media(max-width:767px){

	.ms-checkout-shell{
		width:min(100% - 30px,1180px);
	}

	.ms-checkout-hero{
		padding:55px 0 36px;
	}

	.ms-checkout-hero h1{
		font-size:clamp(42px,13vw,60px);
	}

	.ms-checkout-commerce{
		padding-bottom:72px;
	}

	.ms-checkout-native .woocommerce-billing-fields,
	.ms-checkout-native .woocommerce-shipping-fields,
	.ms-checkout-native .woocommerce-additional-fields,
	.ms-checkout-native #order_review{
		padding:22px 18px;
		border-radius:18px;
	}

	.ms-checkout-native .form-row-first,
	.ms-checkout-native .form-row-last{
		float:none!important;
		width:100%!important;
	}

	.ms-checkout-native .woocommerce-info{
		padding-left:50px!important;
	}

	.ms-checkout-native .woocommerce-info::before{
		left:17px!important;
	}

	.ms-checkout-confidence{
		padding:65px 0;
	}

	.ms-checkout-confidence-grid{
		grid-template-columns:1fr;
	}

	.ms-checkout-confidence-grid>div{
		min-height:0;
	}

	.ms-checkout-confidence-grid span{
		margin-bottom:30px;
	}

	.ms-checkout-secondary{
		padding-bottom:85px;
	}

	.ms-checkout-secondary-card{
		padding:34px 24px;
		border-radius:22px;
	}

	.ms-checkout-secondary-actions{
		flex-direction:column;
	}

	.ms-checkout-btn{
		width:100%;
	}

}


/* =========================================================
   v1.1 — Native WooCommerce / legacy-theme hardening
   ========================================================= */

.ms-checkout-page,
.ms-checkout-page .woocommerce,
.ms-checkout-native,
.ms-checkout-native form.checkout,
.ms-checkout-native #customer_details,
.ms-checkout-native #order_review,
.ms-checkout-native .woocommerce-billing-fields,
.ms-checkout-native .woocommerce-shipping-fields,
.ms-checkout-native .woocommerce-additional-fields{
	box-shadow:none;
}

.ms-checkout-native form.checkout,
.ms-checkout-native .woocommerce-checkout,
.ms-checkout-native .woocommerce-form-login,
.ms-checkout-native .checkout_coupon{
	background:transparent!important;
}

.ms-checkout-native input,
.ms-checkout-native select,
.ms-checkout-native textarea,
.ms-checkout-native button{
	font:inherit;
}

.ms-checkout-unavailable{
	min-height:70vh;
}

.ms-checkout-unavailable .ms-checkout-empty{
	min-height:70vh;
}

.ms-checkout-unavailable .ms-checkout-empty h1 span{
	color:var(--gold);
}

.ms-checkout-unavailable-actions{
	justify-content:flex-start;
	margin-top:28px;
}

@media(max-width:767px){
	.ms-checkout-unavailable-actions{
		width:100%;
		flex-direction:column;
		align-items:stretch;
	}
	.ms-checkout-unavailable-actions .ms-checkout-btn{
		width:100%;
	}
}
