.property-contact-modal {
	--pcm-backdrop: rgb(8 8 7 / 82%);
	--pcm-surface: #191a19;
	--pcm-field: #252625;
	--pcm-text: #eee9df;
	--pcm-muted: #a9a396;
	--pcm-gold: #c4a166;
	--pcm-line: #484236;
	--pcm-error: #e6a19a;
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 16px;
	background: var(--pcm-backdrop);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: var(--pcm-text);
	font: inherit;
	font-size: .9375rem;
	line-height: 1.6;
}

.property-contact-modal[hidden] { display: none !important; }
.property-contact-modal,
.property-contact-modal * { box-sizing: border-box; }
.property-contact-modal button,
.property-contact-modal input,
.property-contact-modal textarea { font: inherit; }
.property-contact-modal a:focus-visible,
.property-contact-modal button:focus-visible,
.property-contact-modal input:focus-visible,
.property-contact-modal textarea:focus-visible { outline: 2px solid var(--pcm-gold); outline-offset: 3px; }

.property-contact-modal__dialog {
	width: min(100%, 520px);
	max-height: min(880px, calc(100vh - 32px));
	max-height: min(880px, calc(100dvh - 32px));
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid #292a28;
	border-radius: 6px;
	background: var(--pcm-surface);
	padding: 20px;
}

.property-contact-modal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.property-contact-modal__eyebrow { margin: 0; color: var(--pcm-gold); font-size: .625rem; font-weight: 600; letter-spacing: .17em; }
.property-contact-modal__close {
	width: 44px;
	min-width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--pcm-muted);
	cursor: pointer;
	font-size: 1.625rem !important;
	line-height: 1;
}
.property-contact-modal__close:hover { color: var(--pcm-text); }

.property-contact-modal__product {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	min-width: 0;
	min-height: 92px;
	overflow: hidden;
	border: 1px solid var(--pcm-line);
	border-radius: 4px;
	background: #202120;
}
.property-contact-modal__media { position: relative; display: grid; min-height: 92px; place-items: center; overflow: hidden; background: #292a28; }
.property-contact-modal__image { width: 100%; height: 100%; min-height: 92px; object-fit: cover; }
.property-contact-modal__no-image { padding: 8px; color: var(--pcm-muted); text-align: center; font-size: .6875rem; line-height: 1.45; }
.property-contact-modal__product-copy { align-self: center; min-width: 0; padding: 12px; }
.property-contact-modal__product-title { overflow-wrap: anywhere; margin: 0; color: var(--pcm-text); font-size: .9375rem; font-weight: 500; line-height: 1.45; }
.property-contact-modal__product-price { margin: 7px 0 0; color: var(--pcm-gold); font-size: .875rem; font-variant-numeric: tabular-nums; }

.property-contact-modal__title { margin: 20px 0 4px; color: var(--pcm-text); font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.property-contact-modal__description { margin: 0 0 16px; color: var(--pcm-muted); font-size: .875rem; line-height: 1.65; }
.property-contact-modal__form { display: grid; gap: 10px; }
.property-contact-modal__input {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	border: 1px solid #3c3d3a;
	border-radius: 4px;
	background: var(--pcm-field);
	padding: 11px 13px;
	color: var(--pcm-text);
	font-size: .9375rem !important;
}
.property-contact-modal__input::placeholder { color: #a9a9a5; opacity: 1; }
.property-contact-modal__input:hover { border-color: #70664f; }
.property-contact-modal__message { min-height: 92px; resize: vertical; }
.property-contact-modal__consent { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0; color: var(--pcm-muted); font-size: .6875rem; line-height: 1.5; }
.property-contact-modal__consent input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--pcm-gold); }
.property-contact-modal__honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.property-contact-modal__status { min-height: 1.5em; margin: 0; color: var(--pcm-muted); font-size: .75rem; }
.property-contact-modal__status[data-state="success"] { color: #a6c5a2; }
.property-contact-modal__status[data-state="error"] { color: var(--pcm-error); }
.property-contact-modal__status[data-state="pending"] { color: var(--pcm-gold); }
.property-contact-modal__submit {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--pcm-gold);
	border-radius: 2px;
	background: var(--pcm-gold);
	color: #17140f;
	cursor: pointer;
	font-size: .6875rem !important;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.property-contact-modal__submit:hover:not(:disabled) { background: transparent; color: var(--pcm-text); }
.property-contact-modal__submit:disabled { cursor: wait; opacity: .72; }
.property-contact-modal__hotline {
	display: flex;
	width: 100%;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--pcm-gold);
	border-radius: 2px;
	background: transparent;
	color: var(--pcm-gold);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-align: center;
	text-decoration: none;
}
.property-contact-modal__hotline:hover { background: var(--pcm-gold); color: #17140f; }

@media (max-width: 480px) {
	.property-contact-modal { padding: 10px; }
	.property-contact-modal__dialog { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 16px; }
	.property-contact-modal__product { grid-template-columns: 84px minmax(0, 1fr); }
	.property-contact-modal__media,
	.property-contact-modal__image { min-height: 84px; }
	.property-contact-modal__title { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: reduce) {
	.property-contact-modal *, .property-contact-modal *::before, .property-contact-modal *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
