#koiraparkki-booking-choice-root {
	/*
	 * Koiraparkki / nykyisen sivuston henkinen ilme:
	 * rauhallinen, lämmin, selkeä ja luonnollinen.
	 * Värimuuttujat on koottu alkuun, jotta niitä on helppo säätää
	 * myöhemmin teeman tarkkojen brändiarvojen mukaan.
	 */
	--kp-green: #385447;
	--kp-green-dark: #2b4136;
	--kp-green-soft: #e9eee9;
	--kp-sand: #f5f1e8;
	--kp-cream: #fbfaf7;
	--kp-brown: #65594d;
	--kp-text: #26332c;
	--kp-muted: #6c756f;
	--kp-border: rgba(56, 84, 71, .16);
	--kp-shadow: 0 14px 42px rgba(42, 58, 49, .10);
	--kp-radius: 18px;
	font-family: inherit;
	color: var(--kp-text);
}

#koiraparkki-booking-choice-root * {
	box-sizing: border-box;
}

.kp-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1040px;
	margin: 0 auto;
}

.kp-choice-card {
	position: relative;
	isolation: isolate;
	min-height: 315px;
	padding: 34px 36px 34px;
	border: 1px solid var(--kp-border);
	border-radius: var(--kp-radius);
	background:
		linear-gradient(145deg, rgba(255,255,255,.92), rgba(245,241,232,.96));
	color: var(--kp-text);
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	box-shadow: var(--kp-shadow);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	font-family: inherit;
}

.kp-choice-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 210px;
	height: 210px;
	right: -88px;
	bottom: -100px;
	border-radius: 50%;
	background: var(--kp-green-soft);
}

.kp-choice-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 120px;
	height: 120px;
	right: 48px;
	top: -78px;
	border-radius: 50%;
	background: rgba(56,84,71,.045);
}

.kp-choice-card:hover,
.kp-choice-card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 20px 48px rgba(42, 58, 49, .15);
	border-color: rgba(56,84,71,.30);
	outline: none;
}

.kp-choice-card:focus-visible {
	box-shadow: 0 0 0 4px rgba(56,84,71,.16), 0 20px 48px rgba(42,58,49,.15);
}

.kp-icon-wrap {
	width: 82px;
	height: 82px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-bottom: 24px;
	background: var(--kp-green-soft);
	border: 1px solid rgba(56,84,71,.08);
}

.kp-dog-icon {
	width: 61px;
	height: 49px;
	fill: var(--kp-green);
}

.kp-choice-title {
	display: block;
	font-size: clamp(22px, 2.15vw, 30px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.025em;
	max-width: 470px;
}

.kp-choice-description {
	display: block;
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--kp-muted);
	max-width: 460px;
}

.kp-choice-arrow {
	position: absolute;
	right: 30px;
	bottom: 24px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--kp-green);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	z-index: 2;
	transition: transform .2s ease, background .2s ease;
}

.kp-choice-card:hover .kp-choice-arrow {
	transform: translateX(3px);
	background: var(--kp-green-dark);
}

/* Modal */

.kp-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(29, 39, 33, .72);
	overflow-y: auto;
	backdrop-filter: blur(3px);
}

.kp-modal {
	position: relative;
	width: min(1120px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--kp-cream);
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 20px;
	padding: 42px;
	box-shadow: 0 28px 90px rgba(0,0,0,.28);
}

.kp-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--kp-green-soft);
	color: var(--kp-green-dark);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	font-family: inherit;
	transition: background .2s ease, transform .2s ease;
}

.kp-modal-close:hover {
	background: #dce5dd;
	transform: rotate(3deg);
}

.kp-modal-title {
	margin: 0 55px 30px 0;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.12;
	letter-spacing: -.025em;
	color: var(--kp-text);
}

.kp-booking-shortcode {
	min-height: 100px;
}

.kp-success-message {
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--kp-text);
}

/* Enquiry form */

.kp-form-view {
	max-width: 1040px;
	margin: 0 auto;
	padding: 8px 32px 48px;
}

.kp-back-button {
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0 0 20px;
	color: var(--kp-green);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}

.kp-back-button:hover {
	color: var(--kp-green-dark);
}

.kp-form-title {
	margin: 0;
	font-size: clamp(31px, 4vw, 46px);
	line-height: 1.08;
	letter-spacing: -.03em;
	color: var(--kp-text);
}

.kp-form-intro {
	margin: 12px 0 32px;
	color: var(--kp-muted);
	font-size: 17px;
	line-height: 1.55;
}

.kp-enquiry-form {
	background: var(--kp-cream);
}

.kp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
}

.kp-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.kp-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--kp-text);
}

.kp-required {
	color: #a04f43;
}

.kp-field input,
.kp-field select,
.kp-field textarea {
	width: 100%;
	border: 1px solid #d0d5cf;
	border-radius: 9px;
	background: #fff;
	color: var(--kp-text);
	padding: 15px 18px;
	font: inherit;
	line-height: 1.45;
	outline: none;
	box-shadow: 0 1px 1px rgba(20,30,24,.02);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.kp-field input::placeholder,
.kp-field textarea::placeholder {
	color: #9aa19c;
}

.kp-field input:focus,
.kp-field select:focus,
.kp-field textarea:focus {
	border-color: var(--kp-green);
	box-shadow: 0 0 0 3px rgba(56,84,71,.12);
}

.kp-field textarea {
	resize: vertical;
	min-height: 130px;
}

.kp-field-full {
	margin-top: 2px;
}

.kp-section-title {
	margin: 12px 0 22px;
	padding-top: 28px;
	border-top: 1px solid rgba(56,84,71,.13);
	font-size: 22px;
	line-height: 1.2;
	color: var(--kp-text);
}

.kp-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 154px;
	margin-top: 7px;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--kp-green);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 7px 18px rgba(56,84,71,.18);
}

.kp-submit:hover:not(:disabled) {
	background: var(--kp-green-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(56,84,71,.23);
}

.kp-submit:disabled {
	opacity: .65;
	cursor: wait;
}

.kp-status {
	margin: 0 0 24px;
	padding: 15px 17px;
	border-radius: 9px;
	font-weight: 600;
	line-height: 1.45;
}

.kp-status-success {
	background: #e8f1e8;
	color: #2e5935;
	border: 1px solid #d0e3d1;
}

.kp-status-error {
	background: #f8e9e6;
	color: #7b342d;
	border: 1px solid #efd0ca;
}

.kp-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Existing booking calendar should visually sit naturally in the modal. */
.kp-booking-shortcode > * {
	max-width: 100%;
}

@media (max-width: 760px) {
	.kp-choice-grid,
	.kp-form-grid {
		grid-template-columns: 1fr;
	}

	.kp-choice-card {
		min-height: 250px;
		padding: 28px;
	}

	.kp-choice-title {
		font-size: 25px;
	}

	.kp-modal-backdrop {
		padding: 10px;
		align-items: flex-start;
	}

	.kp-modal {
		max-height: calc(100vh - 20px);
		padding: 28px 20px 30px;
		border-radius: 16px;
	}

	.kp-modal-title {
		margin-right: 42px;
	}

	.kp-form-view {
		padding-left: 2px;
		padding-right: 2px;
	}
}

@media (max-width: 460px) {
	.kp-choice-card {
		min-height: 225px;
		padding: 24px;
	}

	.kp-icon-wrap {
		width: 72px;
		height: 72px;
		margin-bottom: 20px;
	}

	.kp-dog-icon {
		width: 54px;
		height: 43px;
	}

	.kp-choice-description {
		font-size: 15px;
	}

	.kp-choice-arrow {
		right: 20px;
		bottom: 18px;
		width: 40px;
		height: 40px;
	}

	.kp-modal-close {
		top: 10px;
		right: 10px;
	}
}
