@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap");

.wcpcb-box {
	--wcpcb-btn: #B6E04B;
	--wcpcb-btn-text: #ffffff;
	--wcpcb-dark: #0f3a4a;
	--wcpcb-muted: #8a8f98;
	--wcpcb-save: #1f9d55;
	--wcpcb-save-bg: #eaf8ef;
	--wcpcb-save-border: #bfe8cd;

	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	padding: 18px 20px;
	background: #f8f8f6;
	border-radius: 8px;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.2;
}

.wcpcb-box *,
.wcpcb-box *::before,
.wcpcb-box *::after {
	box-sizing: inherit;
}

.wcpcb-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.wcpcb-current {
	color: var(--wcpcb-dark);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.wcpcb-prefix {
	margin-right: 6px;
}

.wcpcb-current .woocommerce-Price-amount,
.wcpcb-current bdi {
	color: inherit;
	font-weight: inherit;
}

.wcpcb-regular {
	color: var(--wcpcb-muted);
	font-size: 15px;
	font-weight: 500;
	text-decoration: line-through;
}

.wcpcb-regular .woocommerce-Price-amount,
.wcpcb-regular bdi {
	color: inherit;
}

.wcpcb-save {
	display: inline-block;
	padding: 4px 10px;
	color: var(--wcpcb-save);
	background: var(--wcpcb-save-bg);
	border: 1px solid var(--wcpcb-save-border);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.wcpcb-box .wcpcb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 128px;
	padding: 12px 26px;
	color: var(--wcpcb-btn-text);
	background: var(--wcpcb-btn);
	border: 0;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.wcpcb-box .wcpcb-button:hover,
.wcpcb-box .wcpcb-button:focus-visible {
	color: var(--wcpcb-btn-text);
	filter: brightness(0.93);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.wcpcb-box .wcpcb-button:focus-visible {
	outline: 2px solid var(--wcpcb-dark);
	outline-offset: 2px;
}

.wcpcb-box .wcpcb-button:active {
	transform: translateY(1px);
}

.wcpcb-box .wcpcb-disabled {
	background: #cfd3d8;
	cursor: not-allowed;
	box-shadow: none;
	filter: none;
}

@media (max-width: 480px) {
	.wcpcb-box {
		padding: 16px;
	}

	.wcpcb-current {
		font-size: 20px;
	}

	.wcpcb-box .wcpcb-button {
		width: 100%;
	}
}
