.wbp-public-calendar-wrap,
.wbp-product-booking,
.wbp-product-slots {
	--wbp-ink: #172033;
	--wbp-muted: #667085;
	--wbp-line: #d8dee8;
	--wbp-soft: #f6f8fb;
	--wbp-panel: #ffffff;
	--wbp-primary: #1b63d1;
	--wbp-primary-dark: #124ca4;
	--wbp-accent: #0f8f72;
	--wbp-warning: #b76e00;
	color: var(--wbp-ink);
}

.wbp-public-calendar-wrap {
	margin: 28px 0;
}

#wbp-public-calendar,
.wbp-product-choice,
.wbp-product-booking,
.wbp-product-slots {
	background: var(--wbp-panel);
	border: 1px solid var(--wbp-line);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
}

#wbp-public-calendar {
	overflow: hidden;
	padding: 18px;
}

.fc {
	--fc-border-color: #e4e8f0;
	--fc-button-bg-color: var(--wbp-primary);
	--fc-button-border-color: var(--wbp-primary);
	--fc-button-hover-bg-color: var(--wbp-primary-dark);
	--fc-button-hover-border-color: var(--wbp-primary-dark);
	--fc-button-active-bg-color: #0f8f72;
	--fc-button-active-border-color: #0f8f72;
	--fc-event-bg-color: var(--wbp-primary);
	--fc-event-border-color: var(--wbp-primary);
	--fc-page-bg-color: #ffffff;
	font-size: 15px;
}

.fc .fc-toolbar-title {
	color: var(--wbp-ink);
	font-size: 1.25rem;
	font-weight: 700;
}

.fc .fc-button {
	border-radius: 6px;
	box-shadow: none;
	font-weight: 650;
	line-height: 1.2;
	padding: 9px 12px;
	text-transform: none;
}

.fc .fc-button:focus,
.fc .fc-button-primary:focus {
	box-shadow: 0 0 0 3px rgba(27, 99, 209, 0.18);
}

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
	color: var(--wbp-ink);
	text-decoration: none;
}

.fc .fc-col-header-cell-cushion {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.fc .fc-daygrid-day.fc-day-today {
	background: #eef7f4;
}

.fc .fc-daygrid-event {
	border-radius: 6px;
	box-shadow: 0 6px 16px rgba(27, 99, 209, 0.22);
	font-weight: 650;
	padding: 3px 6px;
}

.fc .fc-event:focus {
	box-shadow: 0 0 0 3px rgba(15, 143, 114, 0.22);
}

.wbp-product-choice,
.wbp-product-booking,
.wbp-product-slots {
	margin-top: 18px;
	padding: 20px;
	margin-bottom: 18px;
}

.wbp-product-booking h3,
.wbp-product-slots h3,
.wbp-product-choice h3 {
	font-size: 1.1rem;
	font-weight: 750;
	line-height: 1.25;
	margin: 0 0 14px;
}

.wbp-selected-slot {
	background: linear-gradient(90deg, #f1f6ff, #eef7f4);
	border: 1px solid #d9e7f9;
	border-radius: 8px;
	color: var(--wbp-muted);
	margin: 0 0 18px;
	overflow: hidden;
	padding: 0;
}

.wbp-selected-slot__header {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 16px 18px 14px;
}

.wbp-selected-slot__summary {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.wbp-selected-slot__badge {
	background: #ffffff;
	border: 1px solid rgba(15, 143, 114, 0.24);
	border-radius: 999px;
	color: #0b5f4e;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 750;
	line-height: 1;
	padding: 7px 10px;
}

.wbp-selected-slot__title {
	color: var(--wbp-ink);
	display: block;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.25;
}

.wbp-selected-slot__change {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(27, 99, 209, 0.28);
	border-radius: 8px;
	color: var(--wbp-primary-dark);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.2;
	padding: 10px 12px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.wbp-selected-slot__change:hover,
.wbp-selected-slot__change:focus {
	background: #f8fbff;
	border-color: rgba(27, 99, 209, 0.52);
	box-shadow: 0 0 0 3px rgba(27, 99, 209, 0.14);
	color: var(--wbp-primary-dark);
	outline: none;
	text-decoration: none;
}

.wbp-selected-slot__details {
	background: rgba(255, 255, 255, 0.64);
	border-top: 1px solid rgba(216, 222, 232, 0.78);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
}

.wbp-selected-slot__details div {
	border-left: 1px solid rgba(216, 222, 232, 0.78);
	padding: 13px 16px;
}

.wbp-selected-slot__details div:first-child {
	border-left: 0;
}

.wbp-selected-slot__details dt,
.wbp-selected-slot__details dd {
	margin: 0;
}

.wbp-selected-slot__details dt {
	color: var(--wbp-muted);
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1.2;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.wbp-selected-slot__details dd {
	color: var(--wbp-ink);
	font-size: 0.98rem;
	font-weight: 750;
	line-height: 1.25;
}

.wbp-product-choice__list,
.wbp-product-slots__list {
	display: grid;
	gap: 10px;
}

.wbp-product-choice__list {
	margin-top: 8px;
}

.wbp-product-link,
.wbp-product-slots__link {
	background: var(--wbp-soft);
	border: 1px solid #dde3ed;
	border-radius: 8px;
	color: var(--wbp-ink);
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wbp-product-link {
	display: block;
	font-weight: 700;
	padding: 13px 14px;
}

.wbp-product-link:hover,
.wbp-product-slots__link:hover,
.wbp-product-link:focus,
.wbp-product-slots__link:focus {
	background: #ffffff;
	border-color: rgba(27, 99, 209, 0.45);
	box-shadow: 0 10px 24px rgba(23, 32, 51, 0.1);
	color: var(--wbp-primary-dark);
	outline: none;
	transform: translateY(-1px);
}

.wbp-product-link:focus,
.wbp-product-slots__link:focus {
	box-shadow: 0 0 0 3px rgba(27, 99, 209, 0.16), 0 10px 24px rgba(23, 32, 51, 0.1);
}

.wbp-product-slots__list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.wbp-product-slots__link {
	display: grid;
	gap: 6px;
	padding: 15px 16px;
}

.wbp-product-slots__link strong {
	font-size: 1rem;
	font-weight: 750;
}

.wbp-product-slots__link span,
.wbp-product-slots__link em {
	color: var(--wbp-muted);
	font-size: 0.92rem;
	font-style: normal;
	line-height: 1.35;
}

.wbp-product-slots__link em {
	color: var(--wbp-warning);
	font-weight: 700;
}

.wbp-field {
	margin: 0 0 16px;
}

.wbp-field>label:first-child {
	color: var(--wbp-ink);
	display: block;
	font-size: 0.94rem;
	font-weight: 700;
	margin-bottom: 7px;
}

.wbp-field .required {
	color: #d92d20;
	font-weight: 800;
	text-decoration: none;
}

.wbp-field input[type="text"],
.wbp-field select {
	appearance: none;
	background: #ffffff;
	border: 1px solid var(--wbp-line);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(23, 32, 51, 0.04);
	box-sizing: border-box;
	color: var(--wbp-ink);
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.wbp-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--wbp-muted) 50%), linear-gradient(135deg, var(--wbp-muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 36px;
}

.wbp-field input[type="text"]:focus,
.wbp-field select:focus {
	border-color: var(--wbp-primary);
	box-shadow: 0 0 0 3px rgba(27, 99, 209, 0.16);
	outline: none;
}

.wbp-choice,
.wbp-checkbox {
	align-items: flex-start;
	background: var(--wbp-soft);
	border: 1px solid transparent;
	border-radius: 8px;
	display: flex;
	gap: 9px;
	margin-top: 8px;
	padding: 10px 12px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.wbp-choice:has(input:checked),
.wbp-checkbox:has(input:checked) {
	background: #eef7f4;
	border-color: rgba(15, 143, 114, 0.35);
	color: #0b5f4e;
}

.wbp-choice input,
.wbp-checkbox input {
	accent-color: var(--wbp-accent);
	margin-top: 3px;
}

.wbp-product-notice {
	border-radius: 8px;
	margin-bottom: 14px;
}

@media (max-width: 680px) {
	.wbp-public-calendar-wrap {
		margin: 20px 0;
	}

	#wbp-public-calendar,
	.wbp-product-choice,
	.wbp-product-booking,
	.wbp-product-slots {
		box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
	}

	#wbp-public-calendar {
		padding: 10px;
	}

	.fc {
		font-size: 13px;
	}

	.fc .fc-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.fc .fc-toolbar-chunk {
		display: flex;
		justify-content: center;
	}

	.fc .fc-toolbar-title {
		font-size: 1.08rem;
		text-align: center;
	}

	.fc .fc-button {
		padding: 8px 10px;
	}

	.wbp-product-choice,
	.wbp-product-booking,
	.wbp-product-slots {
		padding: 16px;
	}

	.wbp-selected-slot__header {
		flex-direction: column;
	}

	.wbp-selected-slot__change {
		justify-content: center;
		width: 100%;
	}

	.wbp-selected-slot__details {
		grid-template-columns: 1fr;
	}

	.wbp-selected-slot__details div,
	.wbp-selected-slot__details div:first-child {
		border-left: 0;
		border-top: 1px solid rgba(216, 222, 232, 0.78);
	}

	.wbp-selected-slot__details div:first-child {
		border-top: 0;
	}
}