.mashhur-measurements {
	clear: both;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-block: 20px;
}

.mashhur-measurements-toggle {
	justify-self: start;
}

.mashhur-measurements-panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--color-border, #dfd5c8);
	border-radius: 8px;
	background: var(--color-paper, #fffdf8);
}

.mashhur-measurements-panel[hidden] {
	display: none;
}

.mashhur-measurements-heading h2 {
	margin: 0;
	font-family: var(--font-serif, Montserrat, Arial, sans-serif);
	font-size: 1.4rem;
	font-weight: 500;
}

.mashhur-measurements-heading p {
	margin: 4px 0 0;
	color: var(--color-muted, #6f665d);
}

.mashhur-field {
	margin: 0;
}

.mashhur-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.mashhur-field input,
.mashhur-field select,
.mashhur-field textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--color-border, #dfd5c8);
	border-radius: 8px;
	background: #fff;
}

.mashhur-field-checkbox label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}

.mashhur-field-checkbox input {
	width: 18px;
	min-height: 18px;
}

.mashhur-product-note {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block: 12px;
}

.mashhur-product-note span {
	padding: 7px 10px;
	border: 1px solid var(--color-border, #dfd5c8);
	border-radius: 999px;
	background: var(--color-paper, #fffdf8);
	color: var(--color-muted, #6f665d);
	font-size: 0.84rem;
}

@media (min-width: 768px) {
	.mashhur-measurements-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mashhur-measurements-heading,
	.mashhur-field-textarea {
		grid-column: 1 / -1;
	}
}
