/* WOW Waivers — checkout */

.wow-waiver {
	margin: 24px 0;
	padding: 20px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	background: #fcfcfc;
}

.wow-waiver__title { margin: 0 0 12px; font-size: 1.1em; }

.wow-waiver__doc {
	max-height: 260px;
	overflow-y: auto;
	padding: 14px 16px;
	margin-bottom: 18px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	background: #fff;
	font-size: 0.9em;
	line-height: 1.5;
}

.wow-waiver__doc:focus { outline: 2px solid #2271b1; outline-offset: 1px; }
.wow-waiver__doc ol,
.wow-waiver__doc ul { padding-left: 1.4em; }
.wow-waiver__doc li { margin-bottom: 0.5em; }

.wow-waiver__field { margin-bottom: 16px; }
.wow-waiver__field > label { display: block; margin-bottom: 6px; font-weight: 600; }
.wow-waiver__field input[type="text"] { width: 100%; }

.wow-waiver__padwrap { position: relative; }

.wow-waiver__pad {
	display: block;
	width: 100%;
	height: 180px;
	border: 1px dashed #b6b6b6;
	border-radius: 4px;
	background: #fff;
	cursor: crosshair;
	touch-action: none;   /* stop the page scrolling while signing on mobile */
}

.wow-waiver.is-signed .wow-waiver__pad { border-style: solid; border-color: #4a8f4a; }

.wow-waiver__clear {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	font-size: 12px;
	cursor: pointer;
}

.wow-waiver__hint { display: block; margin-top: 6px; font-size: 0.8em; color: #666; }

.wow-waiver__agree label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.wow-waiver__agree input { margin-top: 3px; }

@media (max-width: 600px) {
	.wow-waiver { padding: 14px; }
	.wow-waiver__pad { height: 150px; }
}

@media print { .wow-waiver__doc { max-height: none; overflow: visible; } }

/* ── Standalone waiver page ──────────────────────────────────────────── */

.wow-waiver-page { max-width: 860px; margin: 0 auto; }

.wow-waiver--page {
	padding: 0;
	border: 0;
	background: none;
}

.wow-waiver__doc--full {
	max-height: none;      /* full document, no scroll box */
	overflow: visible;
	padding: 28px 32px;
	font-size: 1em;
	line-height: 1.65;
}

.wow-waiver__doc--full h2,
.wow-waiver__doc--full h3 { margin-top: 1.4em; }
.wow-waiver__doc--full li { margin-bottom: 0.7em; }

.wow-waiver__fields {
	margin-top: 24px;
	padding: 24px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	background: #fcfcfc;
}

.wow-waiver__step { font-size: 0.85em; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }

.wow-waiver__errors {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-left: 4px solid #b32d2e;
	background: #fdf0f0;
}
.wow-waiver__errors ul { margin: 0; padding-left: 1.2em; }

.wow-waiver__field input[type="email"],
.wow-waiver__field input[type="text"] { width: 100%; }

.wow-waiver.has-error .wow-waiver__pad { border-color: #b32d2e; border-style: solid; }

.wow-waiver__submit { margin-top: 8px; }

.wow-waiver__done {
	padding: 28px;
	border: 1px solid #4a8f4a;
	border-radius: 6px;
	background: #f2f9f2;
	text-align: center;
}
