/* CodeByCP Finishing Add-ons - frontend
 * Matches the Barsana-style reference: clean serif heading, hairline borders,
 * full-width checkbox cards with title left, price right, description below.
 */

.codebycp-fa-section {
	margin: 32px 0;
	padding: 28px 0;
	border-top: 1px solid #d9d9d9;
	font-family: inherit;
	color: #1c1c1c;
	width: 100%;
	box-sizing: border-box;
}

.codebycp-fa-header {
	margin-bottom: 18px;
}

.codebycp-fa-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.2px;
	margin: 0 0 8px 0 !important;
	line-height: 1.2;
	font-family: Georgia, "Times New Roman", serif;
	color: #1c1c1c;
}

.codebycp-fa-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
	color: #1c1c1c;
}

.codebycp-fa-subtitle {
	font-size: 14px;
	color: #6b6b6b;
	margin: 0 !important;
	line-height: 1.5;
}

.codebycp-fa-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.codebycp-fa-option {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid #d9d9d9;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	margin: 0;
}

.codebycp-fa-option:hover {
	border-color: #1c1c1c;
}

.codebycp-fa-option.is-selected {
	border-color: #1c1c1c;
	background: #fafafa;
	box-shadow: inset 0 0 0 1px #1c1c1c;
}

.codebycp-fa-checkbox {
	margin: 4px 0 0 0 !important;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	accent-color: #1c1c1c;
	cursor: pointer;
}

.codebycp-fa-content {
	flex: 1;
	min-width: 0;
}

.codebycp-fa-row-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 6px;
}

.codebycp-fa-name {
	font-size: 16px;
	font-weight: 600;
	color: #1c1c1c;
	line-height: 1.3;
}

.codebycp-fa-price {
	font-size: 15px;
	font-weight: 500;
	color: #1c1c1c;
	white-space: nowrap;
}

.codebycp-fa-price .woocommerce-Price-amount {
	color: inherit;
}

.codebycp-fa-desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: #6b6b6b;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.codebycp-fa-title {
		font-size: 22px;
	}
	.codebycp-fa-option {
		padding: 14px 14px;
	}
	.codebycp-fa-row-top {
		flex-wrap: wrap;
	}
	.codebycp-fa-price {
		font-size: 14px;
	}
}
