.wfc-wrap { width: 100%; --wfc-btn-bg: #000; --wfc-btn-text: #fff; }
.wfc-wrap *, .wfc-wrap *::before, .wfc-wrap *::after { box-sizing: border-box; }

/* Each block is independent: no outer margins, spacing is controlled by the theme/builder. */
.wfc-wrap-info > :last-child { margin-bottom: 0; }
.wfc-wrap-calc .wfc-calc { margin: 0; }
/* Legacy shortcode renders both blocks one after another. */
.wfc-wrap-info + .wfc-wrap-calc { margin-top: 15px; }

.wfc-info-box {
	width: 100%; background: #fdfdfd; border: 1px solid #e5e5e5; border-radius: 8px;
	padding: 10px 15px; margin-bottom: 15px; font-size: 14px; font-weight: 600;
	color: #2c3e50; display: flex; align-items: center; justify-content: center;
	gap: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.wfc-flag { width: 26px; height: auto; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); border: 1px solid #f0f0f0; }
.wfc-custom-box { background: #fffdf5; border-color: #f3ebd3; color: #7d651a; }

.wfc-benefits {
	width: 100%; border: 1px solid #e8e8e8; background: #fff; font-family: inherit;
	margin-bottom: 15px; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.wfc-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.wfc-benefit-item {
	padding: 12px 15px; font-size: 13px; color: #444; line-height: 1.4;
	display: flex; align-items: center; justify-content: space-between;
	border-bottom: 1px solid #eee; border-right: 1px solid #eee;
}
.wfc-google-text { font-weight: 600; }
.wfc-btn {
	background: var(--wfc-btn-bg);
	color: var(--wfc-btn-text) !important;
	text-decoration: none !important; padding: 4px 12px; border-radius: 4px;
	font-size: 10px; font-weight: bold; transition: opacity 0.2s;
	flex-shrink: 0; margin-left: 10px;
}
.wfc-btn:hover { opacity: 0.8; }

@media (min-width: 601px) {
	.wfc-benefit-item:nth-child(even) { border-right: none; }
	.wfc-benefit-item:nth-child(4n+1),
	.wfc-benefit-item:nth-child(4n+2) { background: #fafafa; }
	.wfc-benefit-item:last-child,
	.wfc-benefit-item:nth-last-child(2) { border-bottom: none; }
}
@media (max-width: 600px) {
	.wfc-benefits-grid { grid-template-columns: 1fr; }
	.wfc-benefit-item { border-right: none; font-size: 12px; }
	.wfc-benefit-item:nth-child(odd) { background: #fafafa; }
	.wfc-benefit-item:last-child { border-bottom: none; }
}

.wfc-calc { background: #fdfdfd; border: 1px solid #e5e5e5; border-radius: 8px; margin: 15px 0; width: 100%; overflow: hidden; }
.wfc-calc-summary { padding: 15px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; color: #2c3e50; outline: none; }
.wfc-calc-summary::-webkit-details-marker { display: none; }
.wfc-calc-summary::after { content: '+'; margin-left: auto; font-size: 20px; color: #999; }
.wfc-calc[open] .wfc-calc-summary::after { content: '−'; }
.wfc-calc-content { padding: 5px 15px 15px; }
.wfc-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px; }
.wfc-calc-group label { display: block; font-size: 11px; text-transform: uppercase; color: #777; }
.wfc-calc-group input { display: block; width: 100%; height: 40px; margin-top: 6px; border-radius: 6px; border: 1px solid #ddd; padding: 0 12px; text-transform: none; }
.wfc-calc-results { background: #f0f4f7; padding: 12px 15px; border-radius: 6px; border: 1px dashed #cbd5e0; }
.wfc-calc-results p { margin: 4px 0; font-size: 13px; display: flex; justify-content: space-between; }
@media (max-width: 600px) { .wfc-calc-grid { grid-template-columns: 1fr; } }
