.blb {
	--blb-primary: #029fae;
	--blb-primary-dark: #066169;
	--blb-tint: #e9f7f8;
	--blb-ink: #272343;
	--blb-muted: #686868;
	--blb-line: #e3e6e8;
	--blb-soft: #f7f9f9;
	--blb-heading: var(--wp--preset--font-family--cardo, Georgia, serif);
	width: 100%;
	max-width: 1080px !important;
	margin: 0 auto;
	color: var(--blb-ink);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}
.blb *, .blb *::before { box-sizing: border-box; }
.blb :focus-visible { outline: 2px solid var(--blb-primary-dark); outline-offset: 2px; }
.blb h3, .blb h4, .blb p { margin: 0; }

.blb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.blb-main { display: grid; gap: 36px; min-width: 0; }

.blb-step-title { font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.25; }
.blb-hint { color: var(--blb-muted); margin-top: 4px; font-size: 15px; }
.blb-group { margin: 22px 0 10px !important; color: var(--blb-muted); font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

.blb-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.blb-service { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; background: #fff; border: 1px solid var(--blb-line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.blb-service:hover { border-color: var(--blb-primary); }
.blb-service.is-active { background: var(--blb-tint); border-color: var(--blb-primary); box-shadow: inset 0 0 0 1px var(--blb-primary); }
.blb-service input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.blb-service input:focus-visible + .blb-tick { outline: 2px solid var(--blb-primary-dark); outline-offset: 2px; }
.blb-tick { flex: none; position: relative; width: 22px; height: 22px; background: #fff; border: 1.5px solid #c3cacd; border-radius: 6px; }
.blb-service.is-active .blb-tick { background: var(--blb-primary); border-color: var(--blb-primary); }
.blb-service.is-active .blb-tick::before { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.blb-service-body { flex: 1; min-width: 0; display: grid; }
.blb-name { font-weight: 500; line-height: 1.25; }
.blb-meta { color: var(--blb-muted); font-size: 14px; }
.blb-price { flex: none; display: grid; justify-items: end; }
.blb-price strong { font-size: 18px; font-weight: 600; }
.blb-price small { color: var(--blb-muted); font-size: 12px; white-space: nowrap; }

.blb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; transition: opacity .15s; }
.blb-slots.is-loading { opacity: .5; }
.blb-slots .blb-hint { grid-column: 1 / -1; margin: 0; padding: 18px; background: var(--blb-soft); border-radius: 10px; }
.blb-slot { height: 46px; padding: 0; background: #fff; color: var(--blb-ink); border: 1px solid var(--blb-line); border-radius: 10px; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
.blb-slot:hover { border-color: var(--blb-primary); }
.blb-slot.is-active { background: var(--blb-primary); border-color: var(--blb-primary); color: #fff; }

.blb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.blb-field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.blb-field input { width: 100%; height: 50px; padding: 0 14px; background: #fff; border: 1px solid #cfd4d7; border-radius: 10px; color: var(--blb-ink); font-size: 16px; }
.blb-field input:focus { border-color: var(--blb-primary); outline: 2px solid var(--blb-tint); }
.blb-trap { position: absolute; left: -9999px; }

.blb-pay-title { margin-top: 14px !important; color: var(--blb-muted); font-size: 14px; }
.blb-pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.blb-pay { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 48px; padding: 8px 12px; background: #fff; border: 1px solid var(--blb-line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.blb-pay:hover { border-color: var(--blb-primary); }
.blb-pay.is-active { background: var(--blb-tint); border-color: var(--blb-primary); box-shadow: inset 0 0 0 1px var(--blb-primary); }
.blb-pay input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.blb-pay:focus-within { outline: 2px solid var(--blb-primary-dark); outline-offset: 2px; }
.blb-pay-name { font-weight: 500; }
.blb-pay-total { font-size: 16px; font-weight: 600; }

.blb-summary { position: sticky; top: 124px; padding: 22px; background: #fff; border: 1px solid var(--blb-line); border-radius: 16px; box-shadow: 0 8px 28px rgba(39, 35, 67, .07); }
.blb-summary-title { font-family: var(--blb-heading); font-size: 22px; font-weight: 400; }
.blb-summary-body { margin-top: 12px; }
.blb-empty { padding: 20px 0; color: var(--blb-muted); }
.blb-count { color: var(--blb-primary-dark) !important; font-size: 14px; font-weight: 600; }
.blb-items { margin: 8px 0 0; padding: 0; list-style: none; }
.blb-items li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; }
.blb-item-text { display: grid; line-height: 1.25; }
.blb-item-text small { color: var(--blb-muted); font-size: 13px; }
.blb-remove { flex: none; width: 32px; height: 32px; padding: 0; background: var(--blb-soft); color: var(--blb-muted); border: 0; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.blb-remove:hover { background: var(--blb-tint); color: var(--blb-primary-dark); }
.blb-rows { display: grid; gap: 6px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--blb-line); }
.blb-row { display: flex; justify-content: space-between; gap: 12px; color: var(--blb-muted); font-size: 15px; }
.blb-row span:last-child { color: var(--blb-ink); white-space: nowrap; }
.blb-row-total, .blb-row-total span:last-child { color: var(--blb-ink); font-size: 20px; font-weight: 600; }
.blb-terms { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; }
.blb-terms input { margin-top: 3px; }
.blb-error { margin-top: 12px; color: #b3261e; font-size: 14px; }
.blb-error:empty { display: none; }

.blb-btn { display: inline-block; padding: 15px 26px; background: var(--blb-primary); color: #fff !important; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.blb-btn:hover { background: var(--blb-primary-dark); }
.blb-btn:disabled { opacity: .6; cursor: default; }
.blb-submit { width: 100%; margin-top: 16px; }

.blb-bar { display: none; }

.blb-done { max-width: 480px; margin: 0 auto; padding: 36px 28px; background: #fff; border: 1px solid var(--blb-line); border-radius: 16px; box-shadow: 0 8px 28px rgba(39, 35, 67, .07); text-align: center; }
.blb-done > * + * { margin-top: 10px; }
.blb-done h3 { font-family: var(--blb-heading); font-size: 28px; font-weight: 400; }
.blb-done-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; background: var(--blb-tint); color: var(--blb-primary-dark); border-radius: 50%; font-size: 26px; }
.blb-done-time { font-size: 20px; font-weight: 600; }
.blb-done .blb-btn { margin-top: 20px; }

@media (max-width: 920px) {
	.blb-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 88px; }
	.blb-services { grid-template-columns: minmax(0, 1fr); }
	.blb-summary { position: static; box-shadow: none; }
	.blb-summary .blb-submit { display: none; }
	.blb-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--blb-line); box-shadow: 0 -6px 20px rgba(39, 35, 67, .08); }
	.blb-bar-text { display: grid; min-width: 0; line-height: 1.2; }
	.blb-bar-text strong { font-weight: 600; }
	.blb-bar-text small { color: var(--blb-muted); font-size: 13px; }
	.blb-bar .blb-btn { flex: none; padding: 13px 20px; }
}
@media (max-width: 560px) {
	.blb-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.blb * { transition: none !important; scroll-behavior: auto !important; }
}
