.product_collection_card_link {
	cursor: pointer;
}

.product_collection_card_link:focus-visible {
	outline: 2px solid #111;
	outline-offset: 4px;
}

.product_inquiry_dialog {
	box-sizing: border-box;
	width: min(690px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 80px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	color: #111;
	font-family: var(--font-family-base);
	font-size: 16px;
	overflow: auto;
}

.product_inquiry_dialog::backdrop {
	background: rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(3px);
}

.product_inquiry_dialog:modal {
	overscroll-behavior: contain;
}

.product_inquiry_close {
	position: absolute;
	top: 30px;
	right: 30px;
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.product_inquiry_close img {
	display: block;
	width: 12px;
	height: 12px;
}

.product_inquiry_close:focus-visible {
	outline: 2px solid #111;
	outline-offset: 3px;
}

.product_inquiry_title {
	margin: 0 0 28px;
	color: #111;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.15;
}

.product_inquiry_form .customization_form_fields {
	gap: 25px;
}

.product_inquiry_form .customization_form_submit {
	width: 100%;
}

/* Match the original inquiry popup styling for Contact Form 7 fields. */
.product_inquiry_form .wpcf7-form > label {
	display: block;
	margin: 0 0 25px;
	color: #222;
	font-size: 16px;
	line-height: 1.25;
}

.product_inquiry_form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 12px;
}

.product_inquiry_form input.wpcf7-form-control:not(.wpcf7-submit) {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 55px;
	padding: 0 15px;
	border: 1px solid #d5d5d5;
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
}

.product_inquiry_form input.wpcf7-form-control::placeholder {
	color: #aaa;
	opacity: 1;
}

.product_inquiry_form select.wpcf7-form-control {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 55px;
	margin-top: 12px;
	padding: 0 15px;
	border: 1px solid #d5d5d5;
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
}

.product_inquiry_form .wpcf7-submit {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 51px;
	margin-top: 4px;
	border: 0;
	border-radius: 0;
	background: #262626;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.product_inquiry_form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	font-size: 13px;
}

.product_inquiry_form .wpcf7-response-output {
	margin: 15px 0 0;
	padding: 8px 0;
	border: 0;
}

@media (max-width: 640px) {
	.product_inquiry_dialog {
		padding: 56px 24px 24px;
	}

	.product_inquiry_close {
		top: 16px;
		right: 16px;
	}

	.product_inquiry_title {
		margin-bottom: 24px;
		font-size: 32px;
	}
}
