/* WPT Product Requests — modal + buttons */

.wptpr-button-wrap {
	margin: 0 0 12px;
}

/* When rendered inside the product meta block (builder layouts) */
.product_meta .wptpr-button-wrap {
	display: block;
	margin: 16px 0 6px;
}

/* Pill buttons — match the site's pill design (Save to Board / Order Sample) */
button.wptpr-open,
.wptpr-button-wrap .wptpr-open {
	display: inline-block;
	background: #0f7c8c !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9999px !important;
	padding: 10px 24px !important;
	font-size: 14.4px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: none;
	margin: 0;
}

button.wptpr-open:hover,
.wptpr-button-wrap .wptpr-open:hover {
	background: #0c6675 !important;
	color: #fff !important;
}

/* Shipping variant — solid dark navy pill */
button.wptpr-open--shipping,
.wptpr-button-wrap .wptpr-open--shipping {
	background: #2c3e50 !important;
	color: #fff !important;
	border: 0 !important;
}

button.wptpr-open--shipping:hover,
.wptpr-button-wrap .wptpr-open--shipping:hover {
	background: #1e2d3a !important;
	color: #fff !important;
}

/* Overlay */
.wptpr-overlay {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}

.wptpr-overlay.wptpr-visible {
	display: flex;
}

body.wptpr-no-scroll {
	overflow: hidden;
}

/* Modal */
.wptpr-modal {
	background: #fff;
	color: #222;
	border-radius: 8px;
	max-width: 460px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px;
	position: relative;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.25 );
	-webkit-overflow-scrolling: touch;
}

.wptpr-modal h3 {
	margin: 0 0 4px;
	font-size: 1.35em;
	padding-right: 30px;
}

.wptpr-product-name {
	margin: 0 0 18px;
	color: #777;
	font-size: 0.95em;
}

.wptpr-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	padding: 4px;
}

.wptpr-close:hover {
	color: #222;
}

/* Fields */
.wptpr-field {
	margin: 0 0 14px;
}

.wptpr-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.92em;
}

.wptpr-field label span {
	color: #c0392b;
}

.wptpr-field input,
.wptpr-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font: inherit;
}

.wptpr-field input:focus,
.wptpr-field textarea:focus {
	outline: none;
	border-color: #666;
}

/* Honeypot — visually hidden */
.wptpr-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.wptpr-actions {
	margin: 18px 0 0;
}

.wptpr-actions .wptpr-submit {
	width: 100%;
	background: #0f7c8c !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9999px !important;
	padding: 12px 24px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
	cursor: pointer;
}

.wptpr-actions .wptpr-submit:hover {
	background: #0c6675 !important;
}

/* Feedback */
.wptpr-feedback {
	margin-top: 10px;
	font-size: 0.95em;
}

.wptpr-feedback.wptpr-success {
	background: #e8f6ec;
	color: #1e6a34;
	border: 1px solid #bce3c8;
	border-radius: 5px;
	padding: 14px 16px;
}

.wptpr-feedback.wptpr-error {
	background: #fdecea;
	color: #9c2b1f;
	border: 1px solid #f3c4be;
	border-radius: 5px;
	padding: 10px 14px;
}
