.mlb2b-button {
	border-radius: 3px;
	font-weight: 500;
	letter-spacing: 0;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.mlb2b-inquiry-trigger-wrap {
	margin-top: 14px;
	width: 100%;
}

.mlb2b-inquiry-trigger-wrap .mlb2b-button,
.mlb2b-stock-notify .mlb2b-button {
	background: transparent;
	border: 1px solid #6f6258;
	color: #2f2a24;
	padding: 10px 16px;
}

.mlb2b-inquiry-trigger-wrap .mlb2b-button {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 52px;
	width: 100%;
}

.mlb2b-inquiry-trigger-wrap .mlb2b-button:hover,
.mlb2b-stock-notify .mlb2b-button:hover,
.mlb2b-inquiry-trigger-wrap .mlb2b-button:focus,
.mlb2b-stock-notify .mlb2b-button:focus {
	background: #2f2a24;
	border-color: #2f2a24;
	color: #fff;
}

.mlb2b-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 999999;
}

.mlb2b-modal.is-open {
	display: flex;
}

.mlb2b-modal__backdrop {
	background: rgba(32, 28, 24, 0.52);
	inset: 0;
	position: absolute;
}

.mlb2b-modal__dialog {
	background: #fff;
	border: 1px solid rgba(47, 42, 36, 0.12);
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
	max-height: calc(100vh - 40px);
	max-width: 560px;
	overflow: auto;
	padding: 28px;
	position: relative;
	width: min(100%, 560px);
}

.mlb2b-modal__dialog h2 {
	color: #2f2a24;
	font-size: 22px;
	line-height: 1.25;
	margin: 0 34px 20px 0;
}

.mlb2b-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	color: #2f2a24;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 16px;
	width: 36px;
}

.mlb2b-form,
.mlb2b-stock-form {
	margin: 0;
}

.mlb2b-field {
	margin: 0 0 14px;
}

.mlb2b-field label {
	color: #3c342d;
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 6px;
}

.mlb2b-field input,
.mlb2b-field textarea {
	background: #fff;
	border: 1px solid #d8d0c8;
	border-radius: 3px;
	box-sizing: border-box;
	color: #2f2a24;
	font-size: 15px;
	line-height: 1.4;
	padding: 10px 11px;
	width: 100%;
}

.mlb2b-field input:focus,
.mlb2b-field textarea:focus {
	border-color: #6f6258;
	outline: 1px solid #6f6258;
}

.mlb2b-hp {
	height: 0;
	left: -9999px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.mlb2b-response {
	font-size: 14px;
	line-height: 1.4;
	margin: 10px 0 14px;
}

.mlb2b-response.is-error {
	color: #9d2f26;
}

.mlb2b-response.is-success {
	color: #32623a;
}

.mlb2b-button--primary,
.mlb2b-button--secondary {
	min-height: 42px;
}

.mlb2b-stock-notify {
	border: 1px solid #eadfd5;
	border-radius: 4px;
	margin-top: 18px;
	padding: 18px;
}

.mlb2b-stock-notify__title {
	color: #2f2a24;
	font-size: 17px;
	line-height: 1.3;
	margin: 0 0 14px;
}

@media (max-width: 600px) {
	.mlb2b-modal {
		align-items: flex-end;
		padding: 12px;
	}

	.mlb2b-modal__dialog {
		max-height: calc(100vh - 24px);
		padding: 22px;
		width: 100%;
	}
}
