/* Partigo Part Request - front-end styles */
.partigo-pr-btn {
	display: inline-block;
	cursor: pointer;
	border: 0;
	border-radius: 6px;
	padding: 12px 20px;
	font: inherit;
	font-weight: 700;
	line-height: 1.4;
	background: #c8102e;
	color: #fff;
	transition: background-color .15s ease, opacity .15s ease;
}
.partigo-pr-btn:hover { background: #a50d25; }
.partigo-pr-btn--loop { width: 100%; margin-top: 8px; padding: 10px 14px; }
.partigo-pr-shortcode { margin: 16px 0; }

body.partigo-pr-lock { overflow: hidden; }

.partigo-pr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.partigo-pr-modal.is-open { display: flex; }

.partigo-pr-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}
.partigo-pr-modal__window {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	color: #1b1b1b;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.partigo-pr-modal__close {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}
.partigo-pr-modal__close:hover { color: #c8102e; }

.partigo-pr-modal__title { margin: 0 0 4px; font-size: 20px; }
.partigo-pr-modal__product {
	margin: 0 0 16px;
	font-size: 14px;
	color: #c8102e;
	font-weight: 700;
}

.partigo-pr-field { display: block; margin-bottom: 14px; }
.partigo-pr-field__label { display: block; margin-bottom: 6px; font-size: 13px; color: #444; }
.partigo-pr-field input,
.partigo-pr-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid #dcdcdc;
	border-radius: 6px;
	font: inherit;
	background: #fff;
}
.partigo-pr-field input:focus,
.partigo-pr-field textarea:focus { outline: none; border-color: #c8102e; }

.partigo-pr-submit { width: 100%; }
.partigo-pr-submit[disabled] { opacity: .6; cursor: default; }

.partigo-pr-msg { margin-top: 12px; font-size: 14px; min-height: 1em; }
.partigo-pr-msg.is-success { color: #1f7a4d; }
.partigo-pr-msg.is-error { color: #c8102e; }
