/* KomaFG Box Pricing - WoodMart green / yellow theme (#7FD858, #70C949, #FCB802, text #000, prices #BB2034) */

/* Price: "$1.99 / sq ft" with "$48.22 per box" below (cards, product page, quick view) */
.komafg-bp-price { display: inline-block; line-height: 1.35; }
.komafg-bp-sqft, .komafg-bp-box { display: block; }
.komafg-bp-unit { font-size: .78em; font-weight: 600; color: #555; }
.komafg-bp-box { margin-top: 2px; font-size: .82em; font-weight: 700; }
.komafg-bp-box .komafg-bp-unit { font-size: .95em; }

/* Calculator (product page, inside the add-to-cart form, full row above quantity + button) */
.komafg-bp-calc {
	flex: 1 1 100%; width: 100%; box-sizing: border-box; margin: 0 0 18px;
	padding: 16px 18px; background: #F1F9EC; border: 1px solid #7FD858; border-left: 4px solid #FCB802; border-radius: 10px;
	color: #000; text-align: left;
}
.komafg-bp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.komafg-bp-row label { margin: 0; font-weight: 700; color: #000; }
.komafg-bp-calc input.komafg-bp-boxes {
	width: 110px; max-width: 100%; height: 42px; padding: 0 10px; border: 1px solid #CFE8BE; border-radius: 6px;
	background: #fff; color: #000; font-weight: 700; text-align: center;
}
.komafg-bp-calc input.komafg-bp-boxes:focus { border-color: #70C949; outline: none; box-shadow: 0 0 0 3px rgba(127, 216, 88, .25); }
.komafg-bp-cover { margin: 10px 0 0; font-size: 14px; color: #444; }
.komafg-bp-sum {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
	margin-top: 12px; padding-top: 12px; border-top: 1px dashed #CFE8BE; font-size: 15px;
}
.komafg-bp-area { color: #000; }
.komafg-bp-total, .komafg-bp-total .amount { color: #BB2034; font-size: 18px; }

@media (max-width: 767px) {
	.komafg-bp-calc { padding: 14px; }
	.komafg-bp-sum { flex-direction: column; }
}
