/* BellyBliss Studio: contact form and booking calendar. Colours follow the theme tokens. */
.bb-form-card,
.bb-booking {
	--_ink: var(--bb-ink, #4a3b35);
	--_muted: var(--bb-muted, #84716a);
	--_accent: var(--bb-rose-ink, #8f6a62);
	--_accent-hover: var(--bb-rose-ink-hover, #7a5850);
	--_soft: var(--bb-blush, #f3e8e4);
	--_paper: var(--bb-paper, #faf6f3);
	--_line: var(--bb-border, #eaddd7);
	--_radius: var(--bb-radius, 22px);
	--_font: var(--bb-font, inherit);
	color: var(--_ink);
	font-family: var(--_font);
}
.bb-form-card {
	background: #fff;
	border-radius: var(--_radius);
	padding: clamp(22px, 3.5vw, 40px);
	box-shadow: 0 24px 60px -30px rgb(74 59 53 / 0.25);
	border: 1px solid var(--_line);
}
.bb-form .bb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.bb-form .bb-field { margin: 0 0 18px !important; }
.bb-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--_ink); }
.bb-field-opt { font-weight: 400; color: var(--_muted); }
.bb-form input[type="email"],
.bb-form input[type="tel"],
.bb-form input[type="text"],
.bb-form input:not([type]),
.bb-form select,
.bb-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--_line);
	border-radius: 14px;
	background: var(--_paper);
	color: var(--_ink);
	font-family: var(--_font);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.2s, background 0.2s;
	box-shadow: none;
}
.bb-form select { height: auto; min-height: 50px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238f6a62' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.bb-form textarea { min-height: 130px; resize: vertical; }
.bb-form ::placeholder { color: rgb(74 59 53 / 0.42); }
.bb-form input:focus,
.bb-form select:focus,
.bb-form textarea:focus { outline: none; background-color: #fff; border-color: var(--_accent); }
.bb-field.has-error input,
.bb-field.has-error select,
.bb-field.has-error textarea { border-color: #b4441c; background-color: #fff7f3; }
.bb-field-err { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: #b4441c; }
.bb-form-alert { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: #fbe9dd; color: #8a3412; font-size: 14px; font-weight: 500; }
.bb-form-alert--soft { background: var(--_soft); color: var(--_ink); }
.bb-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.bb-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--_accent);
	color: #fff;
	font-family: var(--_font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.bb-form-submit:hover,
.bb-form-submit:focus { background: var(--_accent-hover); color: #fff; }
.bb-form-submit:focus-visible { outline: 3px solid var(--_accent); outline-offset: 3px; }
.bb-form-submit:disabled { opacity: 0.7; cursor: progress; }
.bb-form-privacy { margin: 0 !important; font-size: 13px; color: var(--_muted); flex: 1 1 220px; }
.bb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bb-link { color: var(--_accent); }

/* Photo upload */
.bb-photos input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bb-drop {
	display: grid !important;
	justify-items: center;
	gap: 4px;
	padding: 22px 18px;
	border: 1.5px dashed #d9c3bb;
	border-radius: 18px;
	background: var(--_paper);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.bb-photos.is-featured .bb-drop { padding: 30px 18px; background: var(--_soft); }
.bb-drop:hover,
.bb-drop.is-over,
.bb-photos input:focus-visible + .bb-drop-list,
.bb-photos:focus-within .bb-drop { border-color: var(--_accent); background: #fff; }
.bb-drop-icon { font-size: 20px; color: var(--_accent); }
.bb-drop-text { font-size: 15px; font-weight: 500; }
.bb-drop-hint { font-size: 13px; font-weight: 400; color: var(--_muted); max-width: 420px; }
.bb-drop-list { list-style: none; margin: 10px 0 0 !important; padding: 0; font-size: 13px; color: var(--_muted); }
.bb-drop-list li::before { content: "✓ "; color: var(--_accent); }
.bb-drop-list li.is-error { color: #b4441c; }
.bb-drop-list li.is-error::before { content: "! "; color: #b4441c; }
.bb-photos.has-error .bb-drop { border-color: #b4441c; }

/* Confirmation */
.bb-form-done { text-align: center; padding-block: 48px; }
.bb-form-done::before {
	content: "✦";
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--_soft);
	color: var(--_accent);
	font-size: 22px;
}
.bb-form-done-title { font-family: var(--bb-serif, Georgia, serif); font-size: 30px; line-height: 1.2; color: var(--_ink); margin: 0 0 8px !important; }
.bb-form-done p:not(.bb-form-done-title) { color: var(--_muted); max-width: 460px; margin-inline: auto; }
.bb-done-when { font-size: 18px; color: var(--_ink) !important; font-weight: 500; }
.bb-note p:last-child { margin-bottom: 0; }
.bb-eyebrow { margin: 0 0 10px !important; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--_accent); }
.bb-cancel-free { color: #5d7a56; font-weight: 500; }
.bb-cancel-when { font-family: var(--bb-serif, Georgia, serif); font-size: 28px; margin: 0 0 6px !important; }

/* ---- Booking calendar ------------------------------------------------------------ */
.bb-booking-app {
	background: #fff;
	border-radius: var(--_radius);
	border: 1px solid var(--_line);
	box-shadow: 0 30px 70px -36px rgb(74 59 53 / 0.3);
	padding: clamp(18px, 3vw, 36px);
	transition: opacity 0.2s;
}
.bb-booking-app.is-loading { opacity: 0.6; }
.bb-booking-app > .bb-form-done { box-shadow: none; border: 0; padding-block: 32px; }
.bb-booking-loading { margin: 0; color: var(--_muted); text-align: center; padding: 40px 0; }
.bb-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #b9a69f; }
.bb-steps .is-on { color: var(--_accent); }
.bb-book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.bb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bb-cal-title { margin: 0 !important; font-family: var(--bb-serif, Georgia, serif); font-size: 26px; font-weight: 500; color: var(--_ink); }
.bb-cal-nav {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--_line);
	background: #fff;
	color: var(--_accent);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.bb-cal-nav:hover:not(:disabled) { background: var(--_soft); }
.bb-cal-nav:disabled { opacity: 0.35; cursor: default; }
.bb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bb-cal-wd { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--_muted); padding: 4px 0 6px; }
.bb-cal-day {
	aspect-ratio: 1;
	min-height: 38px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #c4b5af;
	font-family: var(--_font);
	font-size: 15px;
	padding: 0;
	position: relative;
	cursor: default;
}
.bb-cal-day.has-slots { color: var(--_ink); background: var(--_soft); cursor: pointer; font-weight: 500; transition: background 0.15s, color 0.15s; }
.bb-cal-day.has-slots::after { content: ""; position: absolute; left: 50%; bottom: 16%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--_accent); }
.bb-cal-day.has-slots:hover { background: #ead7d0; }
.bb-cal-day.is-today { box-shadow: inset 0 0 0 1px #d9c3bb; }
.bb-cal-day.is-selected,
.bb-cal-day.is-selected:hover { background: var(--_accent); color: #fff; }
.bb-cal-day.is-selected::after { background: #fff; }
.bb-cal-day:focus-visible,
.bb-slot:focus-visible { outline: 2px solid var(--_accent); outline-offset: 2px; }
.bb-cal-legend { margin: 14px 0 0 !important; font-size: 13px; color: var(--_muted); display: flex; align-items: center; gap: 8px; }
.bb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--_accent); display: inline-block; }
.bb-side-empty { background: var(--_paper); border-radius: 18px; padding: 26px; }
.bb-side-empty p { color: var(--_muted); }
.bb-side-empty p:last-child { margin: 0; }
.bb-side-empty .bb-side-promise { color: #5d7a56; font-weight: 500; }
.bb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 22px; }
.bb-slot {
	padding: 11px 0;
	border-radius: 999px;
	border: 1px solid var(--_line);
	background: #fff;
	color: var(--_ink);
	font-family: var(--_font);
	font-size: 15px;
	cursor: pointer;
	transition: all 0.15s;
}
.bb-slot:hover { border-color: var(--_accent); color: var(--_accent); }
.bb-slot.is-selected { background: var(--_accent); border-color: var(--_accent); color: #fff; }
.bb-book-form { border-top: 1px solid var(--_line); padding-top: 22px; }
.bb-book-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 18px; margin-bottom: 18px; border-radius: 14px; background: var(--_soft); font-size: 14px; }
.bb-book-summary span:first-child { font-weight: 500; }
.bb-book-summary span:last-child { color: var(--_muted); }

@media (max-width: 800px) {
	.bb-book-grid { grid-template-columns: 1fr; }
	.bb-side { scroll-margin-top: 90px; }
}
@media (max-width: 560px) {
	.bb-form .bb-form-row { grid-template-columns: 1fr; }
	.bb-form-submit { width: 100%; }
	.bb-cal-grid { gap: 3px; }
	.bb-cal-day { min-height: 0; font-size: 14px; }
}
