.shopify-checkout-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #333333;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
}

.shopify-checkout-header {
	margin-bottom: 30px;
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 20px;
}

.shopify-checkout-title {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #111111;
}

.shopify-checkout-breadcrumbs {
	font-size: 13px;
	color: #737373;
}

.shopify-checkout-breadcrumbs span.active {
	color: #111111;
	font-weight: 500;
}

.shopify-checkout-breadcrumbs .separator {
	margin: 0 8px;
	color: #d9d9d9;
}

/* 2-Column Shopify Layout Structure */
@media (min-width: 769px) {
	.shopify-checkout-layout-wrapper form.checkout {
		display: grid;
		grid-template-columns: 55% 41%;
		gap: 4%;
		align-items: start;
	}
}

/* Left Column Styling (Customer Details) */
.shopify-checkout-layout-wrapper .col-1,
.shopify-checkout-layout-wrapper .col-2 {
	float: none !important;
	width: 100% !important;
	margin: 0 0 20px 0 !important;
}

.shopify-checkout-layout-wrapper h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
	border-bottom: none;
	padding-bottom: 0;
}

/* Modern inputs mimicking Shopify */
.shopify-checkout-layout-wrapper input[type="text"],
.shopify-checkout-layout-wrapper input[type="email"],
.shopify-checkout-layout-wrapper input[type="tel"],
.shopify-checkout-layout-wrapper select {
	width: 100%;
	padding: 12px 14px !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 5px !important;
	font-size: 14px !important;
	background-color: #fff !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shopify-checkout-layout-wrapper input[type="text"]:focus,
.shopify-checkout-layout-wrapper input[type="email"]:focus,
.shopify-checkout-layout-wrapper input[type="tel"]:focus,
.shopify-checkout-layout-wrapper select:focus {
	border-color: #197bbd !important;
	box-shadow: 0 0 0 1px #197bbd !important;
	outline: none !important;
}

.woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

/* Span full width for specific fields like Address */
#billing_first_name_field,
#billing_last_name_field,
#billing_postcode_field,
#billing_city_field {
	grid-column: span 1;
}

#billing_email_field,
#billing_phone_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_country_field,
#billing_state_field,
#billing_company_field {
	grid-column: span 2;
}

@media (max-width: 480px) {
	.woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
	#billing_first_name_field,
	#billing_last_name_field,
	#billing_postcode_field,
	#billing_city_field {
		grid-column: span 1;
	}
}

/* Right Column (Order Summary Box) */
#order_review_heading {
	display: none !important;
}

.shopify-checkout-layout-wrapper #order_review {
	background: #f5f5f5 !important;
	border: 1px solid #e1e1e1 !important;
	border-radius: 8px !important;
	padding: 24px !important;
	position: sticky;
	top: 20px;
}

/* Table Order Review Cleanup */
.shop_table.woocommerce-checkout-review-order-table {
	border: none !important;
	margin: 0 0 20px 0 !important;
	background: transparent !important;
}

.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
	border: none !important;
	padding: 10px 0 !important;
	font-size: 14px;
	color: #545454;
}

.shop_table.woocommerce-checkout-review-order-table tr.cart_item {
	border-bottom: 1px solid #e1e1e1 !important;
}

.shop_table.woocommerce-checkout-review-order-table .product-name {
	font-weight: 500;
	color: #333333;
}

.shop_table.woocommerce-checkout-review-order-table .product-total {
	text-align: right;
	font-weight: 600;
	color: #333333;
}

.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal,
.shop_table.woocommerce-checkout-review-order-table tr.shipping {
	border-top: 1px solid #e1e1e1;
}

.shop_table.woocommerce-checkout-review-order-table tr.order-total {
	border-top: 1.5px solid #333333;
	font-size: 18px;
}

.shop_table.woocommerce-checkout-review-order-table tr.order-total th,
.shop_table.woocommerce-checkout-review-order-table tr.order-total td {
	color: #111111;
	font-weight: 700;
}

/* Payment Methods (Shopify style accordion) */
#payment {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-top: 20px;
}

#payment ul.payment_methods {
	border: 1px solid #d9d9d9 !important;
	border-radius: 5px !important;
	padding: 0 !important;
	overflow: hidden;
	background: #ffffff;
}

#payment ul.payment_methods li {
	padding: 15px !important;
	border-bottom: 1px solid #d9d9d9 !important;
	margin: 0 !important;
}

#payment ul.payment_methods li:last-child {
	border-bottom: none !important;
}

#payment ul.payment_methods li input[type="radio"] {
	margin-right: 10px !important;
}

#payment div.payment_box {
	background: #fafafa !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 4px !important;
	margin: 10px 0 0 0 !important;
	padding: 12px !important;
	font-size: 13px !important;
	color: #545454 !important;
}

#payment div.payment_box::before {
	display: none !important;
}

/* Main Shopify Place Order Button */
#place_order {
	width: 100% !important;
	background-color: #197bbd !important;
	color: #ffffff !important;
	border: none !important;
	padding: 16px 20px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 5px !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
	margin-top: 15px !important;
}

#place_order:hover {
	background-color: #15669e !important;
}
