/* Product Combiner — frontend set-product styles (v1.0.9) */

/* Dynamic bundle — live total badge above the Add-to-Cart row. The JS updates the
 * .pc-set-dynamic-total-amount span in place as the customer picks sizes. Static
 * bundles skip this element entirely. */
.pc-set-dynamic-total-wrap {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0.8em 0 0.4em;
	padding: 10px 14px;
	background: #f0f6fc;
	border: 1px solid #2271b1;
	border-radius: 4px;
}
.pc-set-dynamic-total-label {
	font-size: 0.9em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #2271b1;
}
.pc-set-dynamic-total-amount {
	font-size: 1.4em;
	font-weight: 700;
	color: #1d2327;
	font-variant-numeric: tabular-nums;
}
.pc-set-dynamic-total-hint {
	font-size: 0.85em;
	color: #555;
	font-style: italic;
}
.pc-set-dynamic-note {
	color: #2271b1;
	font-weight: 500;
}


.pc-set-form {
	margin-top: 1em;
}

.pc-set-intro {
	margin: 0 0 1em;
	color: #444;
	font-size: 0.95em;
}

.pc-set-members {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 1.2em;
}

.pc-set-member {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	background: #fff;
}

.pc-set-member-heading {
	font-weight: 600;
	color: #1d2327;
	font-size: 1em;
	margin-bottom: 4px;
}

.pc-set-member-attrs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pc-set-attr {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pc-set-attr-label {
	font-weight: 500;
	color: #333;
	font-size: 0.9em;
}

.pc-set-attr-select {
	width: 100%;
	max-width: 380px;
	padding: 8px 10px;
	font-size: 14px;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	background: #fff;
}

.pc-set-attr-select option[data-pc-reason="unavailable"],
.pc-set-attr-select option[data-pc-reason="oos"] {
	color: #999;
}

.pc-set-member-single {
	font-size: 0.9em;
	color: #555;
	padding: 6px 0;
}

.pc-set-member-status {
	min-height: 1em;
	font-size: 0.85em;
	color: #b32d2e;
	margin-top: 4px;
}
.pc-set-member-status:empty {
	display: none;
}

.pc-set-cta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 1em;
}

.pc-set-cta .quantity {
	margin: 0;
}

.pc-set-submit[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.pc-set-error {
	color: #b32d2e;
	padding: 10px 12px;
	background: #fcf0f1;
	border: 1px solid #d63638;
	border-radius: 3px;
}

/* Wrapper emitted by the_content fallback + shortcode */
.pc-set-picker-injected,
.pc-set-picker-shortcode {
	display: block;
}
