.pcfg-root {
	--pcfg-bg: #f2f2f0;
	--pcfg-card: #ffffff;
	--pcfg-border: #e3e3e0;
	--pcfg-border-hover: #cfcfca;
	--pcfg-accent: #a9d400;
	--pcfg-accent-dark: #7fa300;
	--pcfg-text: #14161a;
	--pcfg-text-muted: #6b7178;
	--pcfg-radius: 10px;
	color: var(--pcfg-text);
	background: #ffffff;
	padding: 0;
	border-radius: 16px;
	box-sizing: border-box;
}
.pcfg-root *, .pcfg-root *::before, .pcfg-root *::after { box-sizing: border-box; }

.pcfg-fallback { color: var(--pcfg-text-muted); }

.pcfg-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

@media (max-width: 860px) {
	.pcfg-layout {
		display: flex;
		flex-wrap: wrap;
	}
	div.pcfg-layout > div {
		width: 100%;
	}	
}

/* ---------- Steps ---------- */
.pcfg-step { margin-bottom: 36px; }
.pcfg-step:last-child { margin-bottom: 0; }

.pcfg-step-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.pcfg-step-number {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pcfg-accent);
	color: #1c2400;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pcfg-step-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.pcfg-options-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 640px) {
	.pcfg-options-grid {
		grid-template-columns: repeat(auto-fill, 48%);
		gap: 16px 3%;
	}
}

.pcfg-card {
	position: relative;
	background: var(--pcfg-card);
	border: 2px solid var(--pcfg-border);
	border-radius: var(--pcfg-radius);
	padding: 20px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.pcfg-card:hover { border-color: var(--pcfg-border-hover); }
.pcfg-card:active { transform: scale(0.99); }

.pcfg-card.is-selected {
	border-color: var(--pcfg-accent);
	box-shadow: 0 0 0 1px var(--pcfg-accent);
}

.pcfg-card-check {
	position: absolute;
	top: 10px;
	right: 12px;
	color: var(--pcfg-accent-dark);
	font-size: 15px;
	font-weight: 700;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity .12s ease, transform .12s ease;
}
.pcfg-card.is-selected .pcfg-card-check { opacity: 1; transform: scale(1); }

.pcfg-card-label {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 4px;
}

.pcfg-card-desc {
	font-size: 13px;
	color: var(--pcfg-text-muted);
	margin: 0;
}

/* Checkbox rows (multi-select "Additional functionality") */
.pcfg-checkbox-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 32px;
}

@media (max-width: 640px) {
	.pcfg-checkbox-grid { grid-template-columns: 1fr; }
}

.pcfg-checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}

.pcfg-checkbox-box {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	border: 2px solid var(--pcfg-border-hover);
	background: var(--pcfg-card);
	flex-shrink: 0;
	margin-top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	transition: background .12s ease, border-color .12s ease;
}
.pcfg-checkbox-row.is-checked .pcfg-checkbox-box {
	background: var(--pcfg-accent);
	border-color: var(--pcfg-accent);
}

.pcfg-checkbox-text-label {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 2px;
}

.pcfg-checkbox-text-desc {
	font-size: 13px;
	color: var(--pcfg-text-muted);
	margin: 0;
}

/* ---------- Summary panel ---------- */
.pcfg-summary {
	background: var(--pcfg-card);
	border-radius: 16px;
	padding: 28px;
	position: sticky;
	top: 24px;
}

.pcfg-summary-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
}

.pcfg-summary-divider {
	border: none;
	border-top: 1px solid var(--pcfg-border);
	margin: 0 0 20px;
}

.pcfg-summary-block { margin-bottom: 18px; }

.pcfg-summary-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pcfg-text-muted);
	margin: 0 0 4px;
}

.pcfg-summary-value {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.pcfg-summary-value.is-empty { color: var(--pcfg-text-muted); font-weight: 400; }

.pcfg-summary-addon-item {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 2px;
	display: flex;
	gap: 6px;
}
.pcfg-summary-addon-item::before { content: "+"; color: var(--pcfg-accent-dark); }

.pcfg-quantity-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--pcfg-border);
	padding-top: 20px;
	margin-bottom: 20px;
}

.pcfg-quantity-label { font-size: 15px; font-weight: 600; }

.pcfg-quantity-input {
	width: 64px;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid var(--pcfg-border-hover);
	font-size: 15px;
	text-align: center;
}

.pcfg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	margin-bottom: 10px;
	transition: filter .12s ease;
}
.pcfg-btn:hover { filter: brightness(0.96); }

.pcfg-btn-primary {
	background: var(--pcfg-accent);
	color: #16220a;
}

.pcfg-btn-secondary {
	background: var(--pcfg-card);
	color: var(--pcfg-text);
	border: 1px solid var(--pcfg-border-hover);
}

.pcfg-footnote {
	text-align: center;
	font-size: 12px;
	font-style: italic;
	color: var(--pcfg-text-muted);
	margin: 4px 0 0;
}

/* ---------- Quote list / cart ---------- */
.pcfg-cart {
	background: var(--pcfg-card);
	border-radius: 16px;
/* 	padding: 28px; */
/* 	max-width: 900px; */
	margin: 0 auto;
}

.pcfg-cart-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 16px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.pcfg-cart-empty {
	text-align: center;
	color: var(--pcfg-text-muted);
	margin: 24px 0;
}

.pcfg-cart-back {
	display: block;
	max-width: 260px;
	margin: 0 auto;
	text-decoration: none;
	text-align: center;
}

.pcfg-cart-back-link {
	display: block;
	text-align: center;
	margin-top: 18px;
	font-size: 14px;
	color: var(--pcfg-accent-dark);
	font-weight: 700;
	text-decoration: none;
}
.pcfg-cart-back-link:hover { text-decoration: underline; }

.pcfg-cart-table {
	display: flex;
	flex-direction: column;
}

.pcfg-cart-head-row {
	display: grid;
	grid-template-columns: 1fr 100px 160px 32px;
	gap: 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--pcfg-border);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--pcfg-text-muted);
}

.pcfg-cart-row {
	display: grid;
	grid-template-columns: 1fr 100px 160px 32px;
	gap: 16px;
	align-items: start;
	padding: 20px 0;
	border-bottom: 1px solid var(--pcfg-border);
}

@media (max-width: 640px) {
	.pcfg-cart-head-row { display: none; }
	.pcfg-cart-row { grid-template-columns: 1fr; gap: 10px; }
	.pcfg-cart-qty, .pcfg-cart-total, .pcfg-cart-remove { justify-self: start; }
}

.pcfg-cart-product-name {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
}

.pcfg-cart-field {
	font-size: 14px;
	margin: 0 0 4px;
	color: var(--pcfg-text);
}

.pcfg-cart-field-label {
	color: var(--pcfg-text-muted);
	font-weight: 600;
}

.pcfg-cart-qty-input { width: 100%; max-width: 80px; }

.pcfg-cart-total {
	font-size: 14px;
	color: var(--pcfg-text-muted);
	font-style: italic;
}

.pcfg-cart-remove {
	background: none;
	border: none;
	color: #c0392b;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	justify-self: end;
}
.pcfg-cart-remove:hover { opacity: .7; }

.pcfg-cart-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	flex-wrap: wrap;
}
.pcfg-cart-actions .pcfg-btn { width: auto; flex: 1; min-width: 180px; margin-bottom: 0; }

.pcfg-cart-status { font-size: 13px; margin-top: 12px; text-align: center; }
.pcfg-cart-status.is-success { color: #2e7d32; }
.pcfg-cart-status.is-error { color: #c0392b; }

.pcfg-cart-hint {
	text-align: center;
	font-size: 13px;
	font-style: italic;
	color: var(--pcfg-text-muted);
	margin: 16px 0 0;
}
