a/**
 * Checkout Modal Template - Figma Design Match
 * Matches the exact styling from checkout-figma-demo.html
 */

/* Grid Layout - 50/50 split */
.checkout-container {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
}

/* LEFT COLUMN */
.left-column {
	padding: 48px 40px;
	background: transparent;
}

.logo {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 32px;
	letter-spacing: -0.5px;
	font-family: 'Nunito', sans-serif;
}

.logo-super { color: #6EC417; }
.logo-fast { color: #FBA223; }
.logo-diet { color: #F34188; }

.left-column h1 {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: #262626;
	margin-bottom: 12px;
	letter-spacing: -0.72px;
	font-family: 'Nunito', sans-serif;
}

.subheadline {
	font-size: 16px;
	color: #646464;
	margin-bottom: 32px;
	line-height: 1.5;
	font-family: 'Nunito', sans-serif;
}

/* Product Cards */
.products {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
}

.product-card {
	background: #FFFFFF;
	border: 2px solid #D9D9D9;
	border-radius: 12px;
	padding: 20px 24px;
	display: flex;
	gap: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
	border-color: #8CD933;
	background: rgba(140, 217, 51, 0.05);
}

.product-card.selected {
	border-color: #8CD933;
	border-width: 2px;
}

.product-radio input {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	cursor: pointer;
	accent-color: #8CD933;
}

.product-content {
	flex: 1;
}

.product-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.product-type {
	font-size: 20px;
	font-weight: 800;
	color: #262626;
	font-family: 'Nunito', sans-serif;
}

.product-badge {
	background: #262626;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	font-family: 'Nunito', sans-serif;
}

.product-desc {
	font-size: 16px;
	color: #646464;
	margin-bottom: 12px;
	line-height: 1.5;
	font-family: 'Nunito', sans-serif;
}

.product-price {
	font-size: 24px;
	font-weight: 800;
	color: #262626;
	text-align: right;
	font-family: 'Nunito', sans-serif;
}

.product-billing {
	font-size: 16px;
	color: #646464;
	text-align: right;
	font-family: 'Nunito', sans-serif;
}

/* Trust Section */
.trust-section {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #E5E5E5;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.stars {
	color: #FFB800;
	font-size: 16px;
	letter-spacing: 2px;
}

.trust-text strong {
	font-size: 14px;
	font-weight: 700;
	color: #262626;
	display: block;
	font-family: 'Nunito', sans-serif;
}

/* RIGHT COLUMN */
.right-column {
	padding: 48px 40px;
	background: transparent;
}

.section-title {
	font-size: 14px;
	font-weight: 800;
	color: #262626;
	margin-bottom: 16px;
	letter-spacing: 0;
	text-transform: uppercase;
	font-family: 'Nunito', sans-serif;
}

/* Form Grid */
.right-column .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 32px;
}

.right-column .form-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 0 !important;
}

.right-column .form-row-wide {
	grid-column: 1 / -1;
}

.right-column .form-row-first {
	grid-column: 1;
}

.right-column .form-row-last {
	grid-column: 2;
}

.right-column label {
	font-size: 14px;
	font-weight: 700;
	color: #262626;
	margin-bottom: 8px;
	font-family: 'Nunito', sans-serif;
}

.right-column input,
.right-column select {
	height: 36px;
	padding: 8px 12px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	color: #262626;
	background: #FFFFFF;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.right-column input:focus,
.right-column select:focus {
	outline: none;
	border-color: #8CD933;
	box-shadow: 0 0 0 3px rgba(140, 217, 51, 0.1);
}

.right-column input::placeholder {
	color: #808080;
}

/* Payment Methods */
.right-column .payment_methods {
	margin-bottom: 32px;
	list-style: none;
	padding: 0;
}

.right-column .payment_methods li {
	background: #FFFFFF;
	border: 2px solid #D9D9D9;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	list-style: none;
}

.right-column .payment_methods li:hover {
	border-color: #8CD933;
}

.right-column .payment_methods li.selected,
.right-column .payment_methods li input[type="radio"]:checked ~ * {
	border-color: #8CD933;
}

.right-column .payment_methods li label {
	font-size: 16px;
	font-weight: 700;
	color: #262626;
	font-family: 'Nunito', sans-serif;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.right-column .payment_methods li input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #8CD933;
}

/* Credit Card Fields */
.right-column .payment_box {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #E5E5E5;
}

.right-column .wc-credit-card-form {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 12px;
}

/* Terms */
.right-column .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 24px;
	padding: 16px;
	background: #F8F8F8;
	border-radius: 8px;
}

.right-column .woocommerce-terms-and-conditions-wrapper label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400;
	font-size: 14px;
	color: #646464;
	cursor: pointer;
}

.right-column input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: #8CD933;
}

.right-column .woocommerce-terms-and-conditions-wrapper a {
	color: #8CD933;
	text-decoration: underline;
}

/* Submit Button */
.right-column #place_order,
.right-column .button {
	width: 100%;
	height: 48px;
	background: #8CD933;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.right-column #place_order:hover,
.right-column .button:hover {
	background: #7BC829;
	transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1024px) {
	.checkout-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.left-column h1 {
		font-size: 26px;
	}
	
	.right-column .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
	
	.right-column .wc-credit-card-form {
		grid-template-columns: 1fr;
	}
}
