.emi-chk-calculator-box {
	/* This box is rendered inside WooCommerce's own add-to-cart form, next to
	   theme flex layouts (quantity/button row). Force it onto its own full-width
	   line instead of being squeezed into that row as another flex item. */
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
	margin: 20px 0;
	padding: 18px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
	max-width: 480px;
}

.emi-chk-calculator-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
}

.emi-chk-calculator-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.emi-chk-calculator-row label {
	font-weight: 500;
	flex: 0 0 auto;
}

.emi-chk-calculator-row select {
	flex: 1 1 auto;
	max-width: 180px;
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.emi-chk-calculator-row-package {
	flex-direction: column;
	align-items: stretch;
}

.emi-chk-calculator-row-package select {
	max-width: 100%;
	width: 100%;
	padding: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.emi-chk-calculator-result {
	margin-bottom: 14px;
	padding: 10px 12px;
	background: #fff;
	border: 1px dashed #ccc;
	border-radius: 4px;
	text-align: center;
}

.emi-chk-calculator-amount {
	font-size: 22px;
	font-weight: 700;
	color: #2e7d32;
}

.emi-chk-calculator-suffix {
	font-size: 13px;
	color: #666;
	margin-left: 4px;
}

.emi-chk-calculator-checkout-btn {
	/* Reusing the theme's .single_add_to_cart_button.button class (needed so
	   WooCommerce's variation-selection JS manages this button too) also pulls
	   in the theme's fixed height + white-space:nowrap + overflow:hidden via a
	   more specific selector — !important is needed here to make the button
	   wrap its text and size to content instead of clipping it. */
	display: block !important;
	width: 100% !important;
	height: auto !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
	margin-top: 10px !important;
	padding: 12px 16px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	white-space: normal !important;
	overflow: visible !important;
	cursor: pointer;
}

@media ( max-width: 480px ) {
	.emi-chk-calculator-box {
		padding: 14px 16px;
	}

	.emi-chk-calculator-title {
		font-size: 15px;
	}

	.emi-chk-calculator-amount {
		font-size: 20px;
	}

	.emi-chk-calculator-checkout-btn {
		font-size: 14px !important;
		padding: 12px 10px !important;
	}
}
