.sbp-booking, .sbp-my-bookings, .sbp-services-showcase {
	font-family: var(--sbp-font, 'Poppins', sans-serif);
	color: var(--sbp-text, #111111);
	max-width: 980px;
	margin: 0 auto;
	box-sizing: border-box;
}
.sbp-booking *, .sbp-my-bookings *, .sbp-services-showcase * { box-sizing: border-box; }

.sbp-booking { background: var(--sbp-bg, #f4fbf5); border-radius: 12px; overflow: hidden; }

/* ---------------- Progress bar ---------------- */
.sbp-progress {
	display: flex;
	gap: 28px;
	padding: 20px 24px;
	background: color-mix(in srgb, var(--sbp-bg, #f4fbf5) 92%, #000 3%);
	border-bottom: 1px solid rgba(0,0,0,.05);
	flex-wrap: wrap;
}
.sbp-progress-step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #111;
	font-weight: 500;
	font-size: 15px;
}
.sbp-step-icon {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #111111;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.sbp-step-icon svg { width: 15px; height: 15px; }
.sbp-progress-step.active { color: var(--sbp-primary, #1a962e); }
.sbp-progress-step.active .sbp-step-icon { background: var(--sbp-primary, #1a962e); }

/* ---------------- Steps ---------------- */
.sbp-step { padding: 28px 24px 32px; }
.sbp-step-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--sbp-title-color, #111111); }
.sbp-step-title.sbp-center { text-align: center; }
.sbp-center { text-align: center; }
.sbp-req { color: #dc2626; margin-left: 2px; }
.sbp-muted { color: #6b7280; font-size: 13px; display: block; }

/* ---------------- Category pills ---------------- */
.sbp-category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.sbp-pill {
	padding: 8px 18px;
	border-radius: 999px;
	border: 1.5px solid #d7e8d9;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	color: #333;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.sbp-pill.active {
	border-color: var(--sbp-primary, #1a962e);
	color: var(--sbp-primary, #1a962e);
}
.sbp-pill .sbp-pill-check {
	width: 15px; height: 15px; border-radius: 50%;
	background: var(--sbp-primary, #1a962e);
	color: #fff; display: none; align-items: center; justify-content: center; font-size: 10px;
}
.sbp-pill.active .sbp-pill-check { display: inline-flex; }

/* ---------------- Service cards ---------------- */
.sbp-service-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}
.sbp-service-card {
	border: 1.5px solid #e2ece3;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	gap: 12px;
	cursor: pointer;
	background: #fff;
	position: relative;
}
.sbp-service-card.selected { border-color: var(--sbp-primary, #1a962e); }
.sbp-service-thumb {
	width: 76px;
	height: 76px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: #eee;
}
.sbp-service-body { flex: 1; min-width: 0; }
.sbp-service-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.sbp-service-desc { font-size: 12.5px; color: #6b7280; line-height: 1.4; margin-bottom: 4px; }
.sbp-service-rating { font-size: 12px; color: #f59e0b; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.sbp-service-rating .sbp-review-count { color: #9ca3af; }
.sbp-service-meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.sbp-service-duration { color: #374151; }
.sbp-service-price { color: var(--sbp-primary, #1a962e); font-weight: 700; }
.sbp-checkmark {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	background: var(--sbp-primary, #1a962e);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}
.sbp-booking[data-checkmark="circle"] .sbp-checkmark { border-radius: 50%; }
.sbp-booking[data-checkmark="square"] .sbp-checkmark { border-radius: 4px; }
.sbp-booking[data-checkmark="star"] .sbp-checkmark { border-radius: 0; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.sbp-service-card.selected .sbp-checkmark { display: flex; }

/* ---------------- Date & Time ---------------- */
.sbp-datetime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sbp-calendar { border: 1px solid #e2ece3; border-radius: 12px; padding: 16px; background: #fff; }
.sbp-calendar-head { display: flex; align-items: center; justify-content: center; gap: 16px; font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.sbp-cal-nav {
	width: 28px; height: 28px; border-radius: 50%; border: none; background: #eee; color: #999;
	font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.sbp-cal-nav-active { background: var(--sbp-primary, #1a962e); color: #fff; }
.sbp-calendar-weekdays, .sbp-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.sbp-calendar-weekdays div { font-size: 12px; color: #999; padding: 4px 0; }
.sbp-cal-day {
	aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; font-size: 14px; cursor: pointer; position: relative;
}
.sbp-cal-day.sbp-cal-empty { cursor: default; }
.sbp-cal-day.sbp-cal-past { color: #ccc; cursor: not-allowed; }
.sbp-cal-day.sbp-cal-blocked { color: #ccc; text-decoration: line-through; cursor: pointer; }
.sbp-cal-day.sbp-cal-available { background: #eaf5ea; }
.sbp-cal-day.sbp-cal-selected { background: var(--sbp-primary, #1a962e); color: #fff; font-weight: 700; }
.sbp-cal-day.sbp-cal-today::after {
	content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
	width: 4px; height: 4px; border-radius: 50%; background: #999;
}
.sbp-blocked-msg { margin-top: 10px; font-size: 13px; background: #fef2f2; color: #b91c1c; padding: 8px 12px; border-radius: 6px; }

.sbp-time-panel { border: 1px solid #e2ece3; border-radius: 12px; padding: 16px; background: #fff; }
.sbp-time-heading { font-weight: 600; margin-bottom: 12px; }
.sbp-slots { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; }
.sbp-slot {
	border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; cursor: pointer; font-size: 14px; text-align: center;
}
.sbp-slot.selected { background: var(--sbp-primary, #1a962e); color: #fff; border-color: var(--sbp-primary, #1a962e); font-weight: 600; }
.sbp-slot.sbp-slot-break, .sbp-slot.sbp-slot-booked {
	color: #bbb; cursor: not-allowed; background: #f7f7f7;
}
.sbp-slot-note { display: block; font-size: 11px; }

/* ---------------- Forms ---------------- */
.sbp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sbp-full-width { grid-column: 1 / -1; }
.sbp-booking label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sbp-booking .sbp-step[data-step-panel="3"] label { color: #000000 !important; }
.sbp-booking input, .sbp-booking textarea, .sbp-booking select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--sbp-field-color, #dddddd);
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}
.sbp-phone-field {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--sbp-field-color, #dddddd) !important;
	border-radius: 4px !important;
	background: #fff !important;
	overflow: visible;
	position: relative;
}
.sbp-phone-field input[type="tel"] {
	flex: 1;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
}
.sbp-phone-field input[type="tel"]:focus { outline: none; }

.sbp-country-dropdown { position: relative; flex-shrink: 0; width: 92px; }
.sbp-country-toggle {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 8px;
	border: none !important;
	border-right: 1px solid var(--sbp-field-color, #dddddd) !important;
	border-radius: 4px 0 0 4px !important;
	background: transparent !important;
	background-image: none !important;
	color: #333 !important;
	cursor: pointer;
	font-size: 13px;
	font-family: inherit;
	box-shadow: none !important;
}
.sbp-country-toggle .sbp-caret { margin-left: auto; font-size: 9px; color: #999 !important; }
.sbp-country-toggle:hover, .sbp-country-toggle:focus {
	background: #f7f7f7 !important;
	outline: none;
}
.sbp-country-flag-img { width: 20px; height: 15px; object-fit: cover; flex-shrink: 0; display: block; border-radius: 0; }

.sbp-country-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 300px;
	max-width: 85vw;
	background: #fff !important;
	border: 1px solid var(--sbp-field-color, #dddddd) !important;
	border-radius: 4px !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	z-index: 20;
	overflow: hidden;
}
.sbp-country-search {
	width: 100%;
	border: none !important;
	border-bottom: 1px solid var(--sbp-field-color, #dddddd) !important;
	border-radius: 0 !important;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff !important;
}
.sbp-country-search:focus { outline: none; }
.sbp-country-options { max-height: 260px; overflow-y: auto; }
.sbp-country-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	cursor: pointer;
	font-size: 13.5px;
	background: #fff !important;
	color: #222 !important;
	border-radius: 0 !important;
}
.sbp-country-option-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbp-country-option-dial { color: #888 !important; }
.sbp-country-option:hover,
.sbp-country-option.active {
	background: #f2f2f2 !important;
	color: #222 !important;
}

/* ---------------- Summary / Thank you receipt card ---------------- */
.sbp-customer-line { text-align: center; margin-bottom: 20px; }
.sbp-customer-line strong { display: block; font-size: 18px; margin-top: 2px; }
.sbp-receipt-card {
	border: 1.5px solid var(--sbp-primary, #1a962e);
	border-radius: 12px;
	padding: 20px;
	background: #fff;
	max-width: 560px;
	margin: 0 auto 24px;
}
.sbp-receipt-service { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 12px; flex-wrap: wrap; }
.sbp-receipt-service-left { display: flex; gap: 12px; align-items: center; }
.sbp-receipt-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #eee; }
.sbp-receipt-service-name { font-weight: 700; font-size: 15px; }
.sbp-receipt-service-meta { font-size: 13px; color: #444; margin-top: 2px; }
.sbp-receipt-service-meta .sbp-strike { text-decoration: line-through; color: #999; margin-right: 6px; }
.sbp-receipt-datetime { font-size: 13px; text-align: right; }
.sbp-receipt-datetime .sbp-muted { margin-bottom: 2px; }
.sbp-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sbp-summary-row.total { font-weight: 700; font-size: 16px; border-top: 1px solid #eee; margin-top: 6px; padding-top: 10px; }
.sbp-summary-row.total span:last-child { color: var(--sbp-primary, #1a962e); }
.sbp-booking-id { text-align: center; color: #6b7280; font-size: 13px; margin-bottom: 16px; }
.sbp-payment-completed-title { text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--sbp-title-color, #111111); }

/* ---------------- Payment methods ---------------- */
.sbp-payment-methods { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.sbp-payment-btn {
	padding: 10px 20px; border-radius: 8px; border: 1.5px solid #ddd; background: #fff; font-weight: 600; cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #555;
}
.sbp-payment-btn.selected { background: var(--sbp-primary, #1a962e); border-color: var(--sbp-primary, #1a962e); color: #fff; }
.sbp-payment-btn .sbp-pay-check { width: 16px; height: 16px; border-radius: 50%; background: #fff; color: var(--sbp-primary, #1a962e); display: none; align-items: center; justify-content: center; font-size: 10px; }
.sbp-payment-btn.selected .sbp-pay-check { display: inline-flex; }

/* ---------------- Thank you ---------------- */
.sbp-thankyou-check {
	width: 72px; height: 72px; border-radius: 50%; background: var(--sbp-primary, #1a962e);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.sbp-thankyou-check svg { width: 32px; height: 32px; }

/* ---------------- Buttons ---------------- */
.sbp-btn {
	padding: 12px 22px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-weight: 600;
	font-family: inherit;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}
.sbp-btn-primary { background: var(--sbp-primary, #1a962e); color: #fff; }
.sbp-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.sbp-btn-ghost { background: var(--sbp-secondary, #111111); color: #fff; }
.sbp-arrow { font-size: 14px; }
.sbp-actions { display: flex; justify-content: space-between; margin-top: 28px; }
.sbp-actions-end { justify-content: flex-end; }
.sbp-actions-center { justify-content: center; }

.sbp-hint { color: #888; font-size: 13px; }

/* ---------------- Table (customer panel) ---------------- */
.sbp-table { width: 100%; border-collapse: collapse; }
.sbp-table th, .sbp-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.sbp-badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eee; }
.sbp-badge-approved, .sbp-badge-paid { background: #d1fae5; color: #065f46; }
.sbp-badge-pending, .sbp-badge-unpaid { background: #fef3c7; color: #92400e; }
.sbp-badge-rejected, .sbp-badge-cancelled, .sbp-badge-failed { background: #fee2e2; color: #991b1b; }

/* ---------------- Services showcase ([spa_services_grid]) ---------------- */
.sbp-showcase-card { border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.sbp-showcase-card .sbp-service-body { padding: 14px; }
.sbp-showcase-card .sbp-btn { margin-top: 10px; width: 100%; justify-content: center; }
.sbp-category { margin-bottom: 24px; }
.sbp-category-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }

/* ---------------- Modal ---------------- */
.sbp-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.6);
	display: flex; align-items: flex-start; justify-content: center;
	padding: 40px 16px; z-index: 100000; overflow-y: auto;
}
.sbp-modal-box { background: var(--sbp-bg, #fff); border-radius: 12px; padding: 8px; max-width: 980px; width: 100%; position: relative; }
.sbp-modal-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #888; z-index: 2; }
body.sbp-modal-open { overflow: hidden; }

/* ---------------- Responsive ---------------- */
@media (max-width: 720px) {
	.sbp-service-grid { grid-template-columns: 1fr; }
	.sbp-datetime-grid, .sbp-form-grid { grid-template-columns: 1fr; }
	.sbp-progress { gap: 14px; padding: 14px 16px; justify-content: space-between; }
	.sbp-progress-step .sbp-step-label { display: none; }
	.sbp-step-icon { width: 30px; height: 30px; }
	.sbp-receipt-service { flex-direction: column; }
	.sbp-receipt-datetime { text-align: left; }
}
