/* PHE Photobooth Booking. Matches the live Storefront site: white, Poppins headings, gold #e5b96a. */

.phe-bk {
	--phe-gold: #e5b96a;
	--phe-gold-dark: #b98a36;
	--phe-gold-soft: #fdf7ec;
	--phe-ink: #222222;
	--phe-text: #555555;
	--phe-line: #e2e2e2;
	--phe-error: #c0392b;
	max-width: 760px;
	margin: 0 auto 48px;
	color: var(--phe-text);
	font-size: 16px;
	line-height: 1.5;
}

.phe-bk *,
.phe-bk *::before,
.phe-bk *::after {
	box-sizing: border-box;
}

.phe-bk__mode {
	background: #fff4d6;
	border: 1px solid #f0d58a;
	color: #7a5a00;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .5px;
	text-align: center;
	padding: 8px 12px;
	border-radius: 5px;
	margin-bottom: 16px;
}

.phe-bk__mode--off {
	background: #f8f8f8;
	border-color: var(--phe-line);
	color: var(--phe-ink);
}

.phe-bk__form,
.phe-bk__done {
	background: #fff;
	border: 1px solid var(--phe-line);
	border-radius: 5px;
	padding: 32px;
}

.phe-bk__head {
	text-align: center;
	margin-bottom: 8px;
}

.phe-bk__title,
.phe-bk .phe-bk__done h2 {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.25;
	color: var(--phe-ink);
	margin: 0 0 8px;
}

.phe-bk__intro {
	margin: 0 auto 12px;
	max-width: 560px;
}

.phe-bk__offer {
	display: inline-block;
	background: var(--phe-gold);
	color: #fff;
	font-family: Poppins, sans-serif;
	font-weight: 500;
	font-size: 14px;
	padding: 6px 16px;
	border-radius: 5px;
	margin: 0;
}

.phe-bk .phe-bk__section {
	border: 0;
	border-top: 1px solid var(--phe-line);
	margin: 24px 0 0;
	padding: 20px 0 0;
	min-width: 0;
	background: transparent;
}

.phe-bk .phe-bk__section legend {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: var(--phe-ink);
	background: transparent;
	margin: 0 0 14px;
	padding: 0;
	float: left;
	width: 100%;
	margin-bottom: 14px;
}

.phe-bk__section legend + * {
	clear: both;
}

.phe-bk__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 640px) {
	.phe-bk__grid {
		grid-template-columns: 1fr 1fr;
	}
	.phe-bk__field--wide {
		grid-column: 1 / -1;
	}
}

.phe-bk__field label {
	display: block;
	font-weight: 600;
	color: var(--phe-ink);
	font-size: 15px;
	margin-bottom: 6px;
}

.phe-bk__opt,
.phe-bk__hint {
	font-weight: 400;
	color: #888;
	font-size: 14px;
}

.phe-bk__hint {
	display: block;
	margin-top: 4px;
}

.phe-bk .phe-bk__field input[type="text"],
.phe-bk .phe-bk__field input[type="email"],
.phe-bk .phe-bk__field input[type="tel"],
.phe-bk .phe-bk__field input[type="date"],
.phe-bk .phe-bk__field input[type="time"],
.phe-bk .phe-bk__field select,
.phe-bk .phe-bk__field textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--phe-ink);
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.phe-bk .phe-bk__field select {
	background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 36px;
}

.phe-bk .phe-bk__field textarea {
	resize: vertical;
}

.phe-bk .phe-bk__field input:focus,
.phe-bk .phe-bk__field select:focus,
.phe-bk .phe-bk__field textarea:focus {
	outline: none;
	border-color: var(--phe-gold);
	box-shadow: 0 0 0 3px rgba(229, 185, 106, .3);
}

.phe-bk__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.phe-bk__choices--pay {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.phe-bk__choices--pay {
		grid-template-columns: 1fr 1fr;
	}
}

.phe-bk__choice {
	position: relative;
	display: block;
	cursor: pointer;
	margin: 0;
}

.phe-bk__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.phe-bk__choice-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 16px;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	background: #fff;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.phe-bk__choice:hover .phe-bk__choice-body {
	border-color: var(--phe-gold);
}

.phe-bk__choice input:checked + .phe-bk__choice-body {
	border-color: var(--phe-gold);
	background: var(--phe-gold-soft);
	box-shadow: inset 0 0 0 1px var(--phe-gold);
}

.phe-bk__choice input:focus-visible + .phe-bk__choice-body {
	box-shadow: 0 0 0 3px rgba(229, 185, 106, .45);
}

.phe-bk__choice.is-disabled {
	cursor: not-allowed;
	opacity: .5;
}

.phe-bk__choice-title {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	color: var(--phe-ink);
	font-size: 16px;
}

.phe-bk__choice-price {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	color: var(--phe-gold-dark);
	font-size: 20px;
}

.phe-bk__choice-price s {
	color: #999;
	font-weight: 400;
	font-size: 15px;
	margin-right: 4px;
}

.phe-bk__choice-note {
	font-size: 14px;
	color: var(--phe-text);
}

.phe-bk__summary {
	margin-top: 24px;
	padding: 16px 20px;
	background: var(--phe-gold-soft);
	border: 1px solid #f1dfbc;
	border-radius: 5px;
}

.phe-bk__summary dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 0;
}

.phe-bk__summary dt {
	color: var(--phe-text);
	font-weight: 400;
	margin: 0;
}

.phe-bk__summary dd {
	margin: 0;
	text-align: right;
	color: var(--phe-ink);
	font-weight: 600;
}

.phe-bk__summary .is-now dt,
.phe-bk__summary .is-now dd {
	font-family: Poppins, sans-serif;
	font-size: 18px;
	color: var(--phe-ink);
	font-weight: 600;
	padding-top: 8px;
	border-top: 1px solid #f1dfbc;
}

.phe-bk__agree {
	margin-top: 20px;
}

.phe-bk__agree label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	color: var(--phe-text);
	cursor: pointer;
}

.phe-bk__agree input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex: none;
	accent-color: var(--phe-gold-dark);
}

.phe-bk__agree a {
	color: var(--phe-gold-dark);
	text-decoration: underline;
}

.phe-bk__err {
	display: block;
	color: var(--phe-error);
	font-size: 14px;
	margin-top: 4px;
}

.phe-bk__err:empty {
	display: none;
}

.phe-bk .has-error input,
.phe-bk .has-error select,
.phe-bk .has-error textarea,
.phe-bk .has-error .phe-bk__choice-body {
	border-color: var(--phe-error);
}

.phe-bk__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.phe-bk__message {
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: 5px;
	background: #fdecea;
	color: var(--phe-error);
	border: 1px solid #f5c6c0;
}

.phe-bk__message.is-info {
	background: var(--phe-gold-soft);
	color: var(--phe-ink);
	border-color: #f1dfbc;
}

.phe-bk .phe-bk__submit,
.phe-bk .phe-bk__pay {
	display: block;
	width: 100%;
	margin-top: 24px;
	padding: 16px 24px;
	font-family: Poppins, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	background: var(--phe-gold);
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s;
}

.phe-bk a.phe-bk__pay,
.phe-bk a.phe-bk__pay:visited {
	color: #fff;
	text-decoration: none !important;
}

.phe-bk .phe-bk__submit:hover,
.phe-bk .phe-bk__pay:hover {
	background: var(--phe-gold-dark);
	color: #fff;
}

.phe-bk .phe-bk__submit[disabled] {
	opacity: .6;
	cursor: wait;
}

.phe-bk__done {
	text-align: center;
}

.phe-bk__done p {
	margin: 0 0 12px;
}

.phe-bk__done ul {
	list-style: none;
	margin: 16px auto;
	padding: 16px;
	max-width: 480px;
	background: var(--phe-gold-soft);
	border-radius: 5px;
	color: var(--phe-ink);
}

.phe-bk__done li {
	margin: 2px 0;
}

.phe-bk__again {
	display: inline-block;
	margin-top: 16px;
	color: var(--phe-gold-dark);
	text-decoration: underline;
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

@media (max-width: 480px) {
	.phe-bk__form,
	.phe-bk__done {
		padding: 20px 16px;
	}
	.phe-bk__title {
		font-size: 23px;
	}
}
