/* Woo Product Configurator by Ahsan — frontend (Task 4: measurements step). */
.wpc-step {
	border: 1px solid #dcdcde;
	border-radius: var(--wpc-radius, 4px);
	margin: 1.5em 0;
	background: var(--wpc-surface, #fff);
}
.wpc-step-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}
.wpc-step-title {
	font-weight: 600;
	font-size: 1.05em;
}
.wpc-step-value {
	margin-left: auto;
	color: #646970;
	font-size: 0.95em;
}
.wpc-toggle {
	width: 32px;
	height: 32px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 20px;
	cursor: pointer;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: var(--wpc-btn-radius, 4px);
}
.wpc-step-body {
	padding: 16px;
}
.wpc-measure-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 12px;
}
.wpc-measure-field {
	display: flex;
	align-items: center;
	gap: 8px;
}
.wpc-axis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid #dcdcde;
	border-radius: var(--wpc-btn-radius, 3px);
	background: #f6f7f7;
	font-weight: 600;
}
.wpc-measure-field select {
	padding: 6px 8px;
}
.wpc-unit {
	color: #646970;
	font-size: 0.9em;
}
.wpc-notes {
	margin: 12px 0;
}
.wpc-note-title {
	font-weight: 600;
	margin: 0 0 4px;
}
.wpc-note-content {
	margin: 0 0 12px;
}
.wpc-guide-link {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--wpc-primary, #b32d2e);
	font-weight: 600;
	padding: 0;
}
.wpc-price-line {
	font-weight: 600;
	font-size: 1.1em;
}
.wpc-range-error {
	color: #b32d2e;
}
.wpc-next-wrap {
	text-align: right;
}
.wpc-next {
	cursor: pointer;
}
/* Modal */
.wpc-modal[hidden] {
	display: none;
}
.wpc-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}
.wpc-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.wpc-modal-box {
	position: relative;
	max-width: 640px;
	margin: 8vh auto;
	background: var(--wpc-surface, #fff);
	border-radius: var(--wpc-radius, 6px);
	padding: 24px;
	max-height: 84vh;
	overflow: auto;
}
.wpc-modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 24px;
	background: none;
	border: none;
	cursor: pointer;
}
.wpc-accordion-item {
	border: 1px solid #dcdcde;
	border-radius: var(--wpc-radius, 4px);
	margin-bottom: 8px;
}
.wpc-accordion-head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: #f6f7f7;
	border: none;
	cursor: pointer;
	font-weight: 600;
}
.wpc-accordion-panel {
	padding: 12px 14px;
}
.wpc-accordion-panel[hidden] {
	display: none;
}
.wpc-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 4px 0 12px;
}
.wpc-guide-grid-item img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #eee;
	border-radius: var(--wpc-radius, 4px);
}
@media (max-width: 600px) {
	.wpc-step-value {
		display: none;
	}
}
