/* Pro — booking a party (PartyPage). The form wears the booking form's own
   look (wizard.css); these add the package's facts and the money lines
   under the guest count. */

.cpbc-party-title {
	margin-bottom: 4px;
}
.cpbc-party-facts {
	margin: 0 0 16px;
	color: var(--cpbc-muted);
}
.cpbc-party-money {
	margin: 12px 0 16px;
	padding: 12px 0;
	border-top: 1px solid var(--cpbc-border);
	border-bottom: 1px solid var(--cpbc-border);
}
.cpbc-party-money > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
}
/* What the party is made of, above the line that totals it. */
.cpbc-party-money-line {
	color: var(--cpbc-muted);
}
.cpbc-party-money-line strong {
	font-weight: 400;
}
.cpbc-party-money-total {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid var(--cpbc-border);
}
.cpbc-party-book h3.cpbc-h:focus {
	outline: 2px solid var(--cpbc-accent);
	outline-offset: 2px;
}

/* Visually hidden, still read by screen readers. */
.cpbc-party-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
/* The package's own form: rows of one block, or two side by side. */
.cpbc-form-row.is-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0 16px;
}
@media (max-width: 480px) {
	.cpbc-form-row.is-split {
		grid-template-columns: minmax(0, 1fr);
	}
}
.cpbc-form-text {
	margin: 12px 0 4px;
	color: var(--cpbc-muted);
}
/* The billing address: its five fields under the studio's heading. */
.cpbc-wizard .cpbc-form-address {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}
.cpbc-wizard .cpbc-form-address legend {
	margin: 0 0 6px;
	padding: 0;
	font-weight: 600;
}
.cpbc-wizard .cpbc-form-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
}
.cpbc-wizard .cpbc-form-check input {
	width: auto;
	margin: 2px 0 0;
	flex: none;
}
.cpbc-form-req {
	color: var(--cpbc-accent);
}

/* What the guest entered, to read before they book. */
.cpbc-party-check {
	margin: 16px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--cpbc-border);
}
.cpbc-party-check-line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
}
.cpbc-party-check-line span {
	color: var(--cpbc-muted);
}

/* The party form: a fifth wider than the wizard at every day size, so a
   day's starts sit three across as equal cards, or two and two past three.
   A taken start is shown disabled and says so. */
.cpbc-party-book {
	--cpbc-form-scale: 1.2;
}

.cpbc-party-book .cpbc-nav strong {
	font-size: 20px;
}

.cpbc-party-book .cpbc-slots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cpbc-party-book .cpbc-slots.is-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cpbc-party-book .cpbc-slots > p {
	grid-column: 1 / -1;
	margin: 0;
}

.cpbc-party-book .cpbc-slotbtn {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 2px;
	padding: 10px 6px;
}

.cpbc-party-book .cpbc-slotbtn:disabled {
	opacity: 0.6;
}

.cpbc-party-book .cpbc-slotbtn em {
	font-style: normal;
	font-size: 11px;
	color: var(--cpbc-full);
}

/* The room's capacity under its name on a start, when the day offers several rooms. */
.cpbc-wizard .cpbc-slotbtn-seats {
	display: block;
	font-size: 0.85em;
	opacity: 0.8;
}

/* Why a guest count is too many, under its box. */
.cpbc-wizard .cpbc-form-note {
	display: block;
	margin-top: 4px;
	font-size: 0.9em;
	color: var(--cpbc-danger, #b32d2e);
}
