.pfp-booking-widget {
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 20px;
	max-width: 380px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	font-family: inherit;
}

.pfp-booking-widget__row {
	display: flex;
	flex-direction: column;
	margin-bottom: 12px;
}

.pfp-booking-widget__row label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
	color: #555;
}

.pfp-booking-widget__row input {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.pfp-booking-widget__guest-fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 12px 0;
}

.pfp-booking-widget__guest-fields input {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.pfp-price-lines {
	list-style: none;
	margin: 12px 0;
	padding: 0;
	font-size: 14px;
}

.pfp-price-lines li {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	border-bottom: 1px solid #f0f0f0;
}

.pfp-price-lines__deposit {
	color: #666;
	font-style: italic;
}

.pfp-price-lines__coupon {
	color: #2a7d2a;
	font-weight: 600;
}

.pfp-price-lines__total {
	font-weight: 700;
	font-size: 16px;
	border-bottom: none;
	border-top: 2px solid #333;
	margin-top: 4px;
	padding-top: 8px;
}

.pfp-booking-widget__submit {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 8px;
	background: #ff385c;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

.pfp-booking-widget__submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.pfp-booking-widget__message {
	margin-top: 10px;
	font-size: 13px;
	color: #333;
	min-height: 16px;
}

.pfp-booking-widget__message--error {
	color: #c0392b;
	font-weight: 600;
}

/* ---------- Interactive date field + calendar panel ---------- */

.pfp-date-field {
	position: relative;
	margin-bottom: 12px;
}

.pfp-date-field__trigger {
	display: flex;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.pfp-date-field__col {
	flex: 1;
	padding: 8px 12px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pfp-date-field__divider {
	width: 1px;
	background: #e0e0e0;
	margin: 8px 0;
}

.pfp-date-field__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #777;
}

.pfp-date-field__value {
	font-size: 14px;
	font-weight: 500;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pfp-calendar-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	width: 320px;
	max-width: 90vw;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
	padding: 16px;
}

.pfp-calendar-panel__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.pfp-calendar-panel__title {
	font-weight: 600;
	font-size: 14px;
}

.pfp-calendar-panel__arrow {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.pfp-calendar-panel__arrow:hover {
	background: #f5f5f5;
}

.pfp-calendar-panel__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.pfp-cal-weekday {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #999;
	text-align: center;
	padding-bottom: 4px;
}

.pfp-cal-day {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: none;
	background: none;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	padding: 2px;
}

.pfp-cal-day__number {
	font-size: 13px;
	font-weight: 500;
}

.pfp-cal-day__price {
	font-size: 9px;
	line-height: 1;
	margin-top: 2px;
	opacity: 0.75;
}

.pfp-cal-day--outside {
	opacity: 0.3;
}

.pfp-cal-day--available {
	background: var(--pfp-accent-tint, #eaf5ee);
	color: var(--pfp-accent-ink, #1d3d34);
}

.pfp-cal-day--available:hover {
	background: var(--pfp-accent-hover-tint, #cfe9d8);
}

.pfp-cal-day--unavailable {
	background: none;
	color: #ccc;
	text-decoration: line-through;
	cursor: not-allowed;
}

.pfp-cal-day--start,
.pfp-cal-day--end {
	background: var(--pfp-accent, #2f5d50);
	color: #fff;
}

.pfp-cal-day--start .pfp-cal-day__price,
.pfp-cal-day--end .pfp-cal-day__price {
	opacity: 0.85;
}

.pfp-cal-day--in-range {
	background: var(--pfp-accent-hover-tint, #cfe9d8);
	border-radius: 0;
}

.pfp-calendar-panel__legend {
	display: flex;
	gap: 14px;
	margin-top: 14px;
	font-size: 11px;
	color: #666;
	flex-wrap: wrap;
}

.pfp-legend-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}

.pfp-legend-dot--available {
	background: var(--pfp-accent-tint, #eaf5ee);
	border: 1px solid var(--pfp-accent, #2f5d50);
}

.pfp-legend-dot--unavailable {
	background: #eee;
	border: 1px solid #ccc;
}

.pfp-legend-dot--selected {
	background: var(--pfp-accent, #2f5d50);
}

.pfp-waitlist-toggle {
	margin-top: 16px;
	font-size: 13px;
}

.pfp-waitlist-toggle summary {
	cursor: pointer;
	color: var(--pfp-accent, #2f5d50);
	font-weight: 600;
}

.pfp-waitlist-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.pfp-waitlist-form input {
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
}

.pfp-waitlist-form button {
	background: var(--pfp-accent, #2f5d50);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 14px;
	font-weight: 600;
	cursor: pointer;
}

.pfp-waitlist-success {
	color: #2f7d52;
	font-weight: 600;
}

.pfp-booking-widget__agreement {
	margin: 10px 0;
	font-size: 13px;
}

.pfp-booking-widget__agreement summary {
	cursor: pointer;
	color: var(--pfp-accent, #2f5d50);
	font-weight: 600;
}

.pfp-booking-widget__agreement-text {
	white-space: pre-line;
	max-height: 160px;
	overflow-y: auto;
	padding: 10px;
	background: #f6f5f2;
	border-radius: 6px;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.6;
}

.pfp-booking-widget__agreement-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 8px;
	font-size: 13px;
}
