/* Blinds Crafter Booking: Direction A, mobile first. Breakpoints 640px and 1024px. */

.bc-booking {
	--bc-surface: #F4EFE6;
	--bc-paper: #FBF8F2;
	--bc-field: #FFFFFF;
	--bc-tint: #F0E2D8;
	--bc-umber: #2A231E;
	--bc-ink: #211C17;
	--bc-body: #4A423A;
	--bc-muted: #6E655B;
	--bc-on-dark: #F4EFE6;
	--bc-line: #DCD2C2;
	--bc-line-strong: #C9BBA9;
	--bc-clay: #B4573A;
	--bc-clay-deep: #8E4229;
	--bc-error: #9E2B1B;
	--bc-serif: Newsreader, Georgia, "Times New Roman", serif;
	--bc-sans: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--bc-wordmark: Lora, Georgia, serif;
	--bc-radius: 2px;

	background: var(--bc-surface);
	color: var(--bc-ink);
	font-family: var(--bc-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0;
}

.bc-booking *,
.bc-booking *::before,
.bc-booking *::after { box-sizing: border-box; }

.bc-booking input,
.bc-booking button,
.bc-booking select,
.bc-booking textarea { font: inherit; color: inherit; margin: 0; }

.bc-booking a { color: var(--bc-ink); }
.bc-booking a:hover { color: var(--bc-clay-deep); }
.bc-booking [hidden] { display: none !important; }
.bc-booking img { max-width: 100%; height: auto; }

.bc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Slim header */
.bc-slim { border-bottom: 1px solid var(--bc-line); background: var(--bc-surface); }
.bc-slim__row { max-width: 1280px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bc-wordmark { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--bc-ink); }
.bc-wordmark__text { font-family: var(--bc-wordmark); font-weight: 700; font-size: 18px; line-height: 0.92; letter-spacing: -0.01em; }
.bc-wordmark__mark { width: 26px; height: 26px; flex: none; }
.bc-wordmark__img { display: block; height: 36px; width: auto; }
.bc-slim__back { display: none; align-items: center; gap: 6px; height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.bc-slim__phone { display: flex; align-items: center; gap: 6px; height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.bc-slim__phone-long { display: none; }
.bc-booking[data-step="2"] .bc-slim__back { display: flex; }
.bc-booking[data-step="2"] .bc-slim__row .bc-wordmark__text { font-size: 16px; text-align: center; }

/* Progress steps */
.bc-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bc-muted); }
.bc-steps__item { white-space: nowrap; }
.bc-steps__line { flex: 1; height: 1px; background: var(--bc-line); }
.bc-steps--desktop { display: none; }
.bc-steps--mobile { padding: 14px 16px 0; }
.bc-booking[data-step="1"] .bc-steps__item[data-step="1"],
.bc-booking[data-step="2"] .bc-steps__item[data-step="2"],
.bc-booking[data-step="3"] .bc-steps__item[data-step="3"] { font-weight: 600; color: var(--bc-ink); }
.bc-booking[data-step="2"] .bc-steps__item[data-step="1"]::after,
.bc-booking[data-step="3"] .bc-steps__item[data-step="1"]::after,
.bc-booking[data-step="3"] .bc-steps__item[data-step="2"]::after { content: " ✓"; }

/* Layout */
.bc-form { margin: 0; display: contents; }
.bc-main { width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px 16px 40px; }
.bc-booking[data-step="2"] .bc-main { padding-bottom: 150px; }
.bc-step { display: grid; gap: 32px; }
.bc-card { display: flex; flex-direction: column; gap: 22px; }
.bc-card__head { display: flex; flex-direction: column; gap: 8px; }
.bc-h1 { margin: 0; font-family: var(--bc-serif); font-weight: 400; font-size: 34px; line-height: 1.08; letter-spacing: -0.01em; color: var(--bc-ink); }
.bc-h1:focus { outline: none; }
.bc-h1 em { font-style: italic; color: var(--bc-clay-deep); }
.bc-h2 { margin: 0; font-family: var(--bc-serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--bc-ink); }
.bc-lead { margin: 0; color: var(--bc-body); font-size: 15px; }
.bc-eyebrow { margin: 0; font-family: var(--bc-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bc-clay-deep); }
.bc-group { display: flex; flex-direction: column; gap: 10px; }
.bc-hint { margin: 2px 0 0; font-size: 13px; color: var(--bc-muted); }

/* Fields */
.bc-grid-2 { display: grid; gap: 18px; }
.bc-field { display: flex; flex-direction: column; gap: 6px; }
.bc-label { font-size: 14px; font-weight: 600; color: var(--bc-ink); }
.bc-label small,
.bc-legend small { font-size: 14px; font-weight: 400; color: var(--bc-muted); }
/* the red asterisk on every field that must be filled in */
.bc-req { color: #D7301F; font-weight: 700; margin-left: 2px; }
.bc-eyebrow .bc-req { letter-spacing: 0; font-size: 15px; line-height: 0; vertical-align: -1px; }
.bc-input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--bc-line-strong); border-radius: var(--bc-radius); background: var(--bc-field); font-size: 16px; color: var(--bc-ink); -webkit-appearance: none; appearance: none; }
.bc-input::placeholder { color: #9A8F83; }
.bc-input:focus { outline: 2px solid var(--bc-clay); outline-offset: 1px; border-color: var(--bc-clay); }
.bc-field.is-invalid .bc-input { border-color: var(--bc-error); }
.bc-field.is-invalid .bc-chip { border-color: var(--bc-error); }
.bc-dl__muted { color: var(--bc-muted); font-size: 13px; }
.bc-field__error { display: none; font-size: 13px; color: var(--bc-error); }
.bc-field.is-invalid .bc-field__error { display: block; }

.bc-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bc-legend { font-size: 14px; font-weight: 600; padding: 0; margin: 0 0 10px; color: var(--bc-ink); }
.bc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-chip { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--bc-line-strong); border-radius: 999px; background: var(--bc-field); cursor: pointer; font-size: 16px; user-select: none; }
.bc-chip input { margin: 0; accent-color: var(--bc-clay); width: 16px; height: 16px; }
.bc-chip:has(input:checked),
.bc-chip.is-checked { background: var(--bc-ink); border-color: var(--bc-ink); color: var(--bc-on-dark); }
.bc-chip:has(input:focus-visible),
.bc-chip.is-focus { outline: 2px solid var(--bc-clay); outline-offset: 2px; }

/* Buttons */
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--bc-radius); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; background: transparent; color: var(--bc-ink); white-space: nowrap; }
.bc-btn--primary { background: var(--bc-clay); border-color: var(--bc-clay); color: #FFFFFF; }
.bc-btn--primary:hover { background: var(--bc-clay-deep); border-color: var(--bc-clay-deep); color: #FFFFFF; }
.bc-btn--outline { border-color: var(--bc-ink); }
.bc-btn--link { padding: 0 10px; color: var(--bc-clay-deep); }
.bc-btn--xl { height: 56px; padding: 0 28px; }
.bc-btn--block { width: 100%; }
.bc-btn:focus-visible { outline: 2px solid var(--bc-clay); outline-offset: 2px; }
.bc-btn.is-busy,
.bc-btn[disabled] { opacity: 0.7; cursor: progress; }
.bc-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.bc-actions--row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
.bc-fine { margin: 0; font-size: 13px; color: var(--bc-muted); }
.bc-fine a { color: inherit; text-decoration: underline; }
.bc-error { margin: 0; font-size: 14px; font-weight: 500; color: var(--bc-error); background: #FBE9E5; border: 1px solid #E7B9AE; border-radius: var(--bc-radius); padding: 10px 12px; }

/* Aside */
.bc-aside { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--bc-line); padding-top: 28px; }
.bc-aside__block { display: flex; flex-direction: column; gap: 16px; }
.bc-figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bc-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bc-radius); }
.bc-figure figcaption { font-size: 14px; color: var(--bc-muted); }
.bc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--bc-body); font-size: 15px; }
.bc-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.bc-list__n { font-family: var(--bc-serif); font-style: italic; color: var(--bc-clay); font-size: 20px; line-height: 1.3; }
.bc-quote { margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--bc-line); padding-top: 16px; }
.bc-quote p { margin: 0; font-family: var(--bc-serif); font-size: 19px; line-height: 1.35; color: var(--bc-ink); }
.bc-quote footer { font-size: 13px; color: var(--bc-muted); }

/* Step 2: picker */
.bc-pick { display: flex; flex-direction: column; gap: 24px; }
.bc-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bc-day[hidden] { display: none; }
.bc-days-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.bc-week { display: flex; align-items: center; gap: 4px; }
.bc-week[hidden] { display: none; }
.bc-week__label { min-width: 118px; text-align: center; font-size: 14px; font-weight: 500; color: var(--bc-ink); }
.bc-week__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--bc-line-strong); border-radius: var(--bc-radius); background: var(--bc-paper); color: var(--bc-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.bc-week__btn:disabled { opacity: 0.35; cursor: default; }
.bc-week__btn:focus-visible { outline: 2px solid var(--bc-clay); outline-offset: 2px; }
.bc-booking--weeks .bc-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bc-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 72px; padding: 0; border: 1px solid var(--bc-line-strong); border-radius: var(--bc-radius); background: var(--bc-paper); color: var(--bc-ink); cursor: pointer; }
.bc-day__dow { font-size: 12px; opacity: 0.8; }
.bc-day__n { font-family: var(--bc-serif); font-size: 24px; line-height: 1; }
.bc-day__mon { font-size: 11px; opacity: 0.8; }
.bc-day[aria-pressed="true"] { background: var(--bc-ink); border-color: var(--bc-ink); color: var(--bc-on-dark); }
.bc-day:focus-visible,
.bc-slot:focus-visible { outline: 2px solid var(--bc-clay); outline-offset: 2px; }
.bc-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bc-slot { display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 14px; border: 1px solid var(--bc-line-strong); border-radius: var(--bc-radius); background: var(--bc-paper); color: var(--bc-ink); font-weight: 500; font-size: 15px; cursor: pointer; }
.bc-slot[aria-pressed="true"] { background: var(--bc-clay); border-color: var(--bc-clay); color: #FFFFFF; }

/* Summary card */
.bc-summary { display: flex; flex-direction: column; gap: 12px; background: var(--bc-paper); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 18px; }
.bc-summary .bc-h2 { font-size: 22px; }
.bc-dl { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bc-dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; border-top: 1px solid var(--bc-line); padding-top: 10px; }
.bc-dl dt { color: var(--bc-muted); }
.bc-dl dd { margin: 0; color: var(--bc-ink); }
.bc-dl__strong { font-weight: 600; }
.bc-summary__submit { display: none; }
.bc-summary .bc-fine a { color: inherit; }

/* Mobile fixed bar (step 2 only) */
.bc-mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--bc-surface); border-top: 1px solid var(--bc-line); flex-direction: column; gap: 8px; }
.bc-mobilebar .bc-btn { height: 54px; }
.bc-mobilebar p { margin: 0; font-size: 12px; color: var(--bc-muted); text-align: center; }
.bc-booking[data-step="2"] .bc-mobilebar { display: flex; }

/* Slim footer */
.bc-slim-footer { border-top: 1px solid var(--bc-line); margin-top: auto; }
.bc-slim-footer__row { max-width: 1280px; margin: 0 auto; padding: 20px 16px; font-size: 12px; color: var(--bc-muted); display: flex; flex-direction: column; gap: 6px; }
.bc-slim-footer__links { display: flex; gap: 16px; }
.bc-slim-footer__links a { color: var(--bc-muted); text-decoration: none; }

/* Requested page */
.bc-main--requested { padding: 28px 16px 40px; }
.bc-requested { display: grid; gap: 28px; }
.bc-requested__body { display: flex; flex-direction: column; gap: 22px; }
.bc-status { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--bc-clay-deep); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bc-h1--big { font-size: 36px; line-height: 1.06; letter-spacing: -0.015em; }
.bc-lead--big { font-size: 16px; }
.bc-next { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--bc-line); padding-top: 20px; }
.bc-list--big li { grid-template-columns: 32px 1fr; }
.bc-list--big .bc-list__n { font-size: 22px; line-height: 1.1; }
.bc-summary--static { gap: 12px; }

/* Address suggestions (Google Places) */
.bc-address { position: relative; }
.bc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; margin: 0; padding: 6px 0; list-style: none; background: var(--bc-field); border: 1px solid var(--bc-line-strong); border-radius: var(--bc-radius); box-shadow: 0 10px 30px rgba(33, 28, 23, 0.12); max-height: 280px; overflow-y: auto; }
.bc-suggest__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; cursor: pointer; font-size: 15px; line-height: 1.3; }
.bc-suggest__item[aria-selected="true"],
.bc-suggest__item:hover { background: var(--bc-tint); }
.bc-suggest__main { font-weight: 500; color: var(--bc-ink); }
.bc-suggest__secondary { font-size: 13px; color: var(--bc-muted); }
.bc-suggest__note { padding: 6px 14px 4px; font-size: 11px; color: var(--bc-muted); text-align: right; }
.pac-container { font-family: var(--bc-sans, "Albert Sans", Helvetica, Arial, sans-serif); border: 1px solid #C9BBA9; border-radius: 2px; box-shadow: 0 10px 30px rgba(33, 28, 23, 0.12); margin-top: 4px; background: #FFFFFF; }
.pac-item { padding: 8px 14px; border-top: 0; font-size: 13px; color: #6E655B; cursor: pointer; line-height: 1.6; }
.pac-item:hover, .pac-item-selected { background: #F0E2D8; }
.pac-item-query { font-size: 15px; color: #211C17; }

/* Progress strip (chrome="0": the theme keeps its own header) */
.bc-progress { border-bottom: 1px solid var(--bc-line); background: var(--bc-surface); }
.bc-progress__row { max-width: 1280px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bc-steps--strip { flex: 1; }
.bc-steps__short { display: inline; }
.bc-steps__long { display: none; }
.bc-progress__phone { display: none; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }

/* Embedded in the theme: full-bleed background, no slim chrome, no fixed bar (the theme may have its own) */
.bc-booking.bc-booking--embedded { min-height: 0; width: var(--bc-vw, 100%) !important; max-width: none !important; margin-left: calc(50% - var(--bc-vw, 100%) / 2) !important; margin-right: 0 !important; }
.bc-booking--embedded .bc-mobilebar,
.bc-booking--embedded[data-step="2"] .bc-mobilebar { display: none; }
.bc-booking--embedded .bc-summary__submit { display: inline-flex; }
.bc-booking--embedded[data-step="2"] .bc-main { padding-bottom: 40px; }

/* ≥ 640px */
@media (min-width: 640px) {
	.bc-main { padding: 32px 32px 64px; }
	.bc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
	.bc-chips { gap: 10px; }
	.bc-chip { padding: 0 16px; }
	.bc-days { display: flex; flex-wrap: wrap; gap: 10px; }
	.bc-booking--weeks .bc-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
	.bc-day { min-width: 88px; height: 84px; padding: 0 10px; gap: 2px; }
	.bc-booking--weeks .bc-day { min-width: 0; padding: 0 6px; }
	.bc-week__label { min-width: 150px; }
	.bc-day__dow { font-size: 13px; }
	.bc-day__n { font-size: 26px; }
	.bc-day__mon { font-size: 12px; }
	.bc-slots { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; }
	.bc-slot { height: 52px; }
	.bc-slim-footer__row { flex-direction: row; justify-content: space-between; gap: 24px; font-size: 13px; padding: 24px 32px; }
	.bc-slim__row { padding: 0 32px; }
	.bc-steps--mobile { padding: 14px 32px 0; }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
	.bc-slim__row { padding: 0 48px; height: 84px; gap: 32px; }
	.bc-wordmark { gap: 10px; }
	.bc-wordmark__text { font-size: 21px; }
	.bc-wordmark__mark { width: 30px; height: 30px; }
	.bc-wordmark__img { height: 44px; }
	.bc-slim__phone { font-size: 15px; gap: 8px; }
	.bc-slim__phone-long { display: inline; }
	.bc-slim__phone-short,
	.bc-slim__phone-icon { display: none; }
	.bc-booking[data-step="2"] .bc-slim__back { display: none; }
	.bc-booking[data-step="2"] .bc-slim__row .bc-wordmark__text { font-size: 21px; text-align: left; }
	.bc-steps--desktop { display: flex; gap: 12px; font-size: 14px; }
	.bc-steps--desktop .bc-steps__line { flex: none; width: 32px; }
	.bc-steps--mobile { display: none; }

	.bc-main { padding: 56px 48px 88px; }
	.bc-booking[data-step="2"] .bc-main { padding-bottom: 88px; }
	.bc-step { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 72px; align-items: start; }
	.bc-card { background: var(--bc-paper); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 40px; gap: 28px; }
	.bc-card__head { gap: 10px; }
	.bc-h1 { font-size: 40px; }
	.bc-h2 { font-size: 28px; }
	.bc-lead { font-size: 16px; }
	.bc-eyebrow { font-size: 14px; }
	.bc-hint { margin-top: 4px; font-size: 14px; }
	.bc-group { gap: 12px; }
	.bc-actions { gap: 12px; padding-top: 8px; }
	.bc-btn--xl { align-self: flex-start; }
	.bc-aside { border-top: 0; padding-top: 8px; gap: 32px; }
	.bc-aside__block { gap: 18px; }
	.bc-list { gap: 14px; font-size: 16px; }
	.bc-quote { padding-top: 20px; gap: 12px; }
	.bc-quote p { font-size: 21px; }
	.bc-quote footer { font-size: 14px; }
	.bc-pick { gap: 32px; }
	.bc-summary { gap: 20px; padding: 32px; position: sticky; top: 24px; }
	.bc-summary .bc-h2 { font-size: 28px; }
	.bc-dl { gap: 14px; font-size: 15px; }
	.bc-dl div { grid-template-columns: 110px 1fr; gap: 12px; padding-top: 12px; }
	.bc-summary__submit { display: inline-flex; }
	.bc-mobilebar,
	.bc-booking[data-step="2"] .bc-mobilebar { display: none; }
	.bc-slim-footer__row { padding: 24px 48px; }

	.bc-progress__row { padding: 18px 48px; }
	.bc-steps--strip { flex: none; font-size: 14px; gap: 12px; }
	.bc-steps--strip .bc-steps__line { flex: none; width: 32px; }
	.bc-steps__short { display: none; }
	.bc-steps__long { display: inline; }
	.bc-progress__phone { display: inline; }
	.bc-booking--embedded[data-step="2"] .bc-main { padding-bottom: 88px; }

	.bc-main--requested { padding: 72px 48px 96px; }
	.bc-requested { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 72px; align-items: start; }
	.bc-requested__body { gap: 28px; }
	.bc-status { font-size: 14px; gap: 12px; }
	.bc-h1--big { font-size: 52px; line-height: 1.05; }
	.bc-lead--big { font-size: 18px; max-width: 560px; }
	.bc-next { gap: 18px; padding-top: 24px; }
	.bc-list--big li { grid-template-columns: 36px 1fr; gap: 12px; }
	.bc-list--big .bc-list__n { font-size: 24px; }
	.bc-summary--static { position: static; }
}

@media (prefers-reduced-motion: no-preference) {
	.bc-btn,
	.bc-chip,
	.bc-day,
	.bc-slot { transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease; }
}
