/* The booking form. Taken from station_wroclaw_autopulse (Booking.astro) with every rule scoped under .bk. */
.bk { color-scheme: light; --color-bg: #f5f5f5; --color-fg: #1a1a1a; --color-muted: #666666; --color-line: #d9d9d9; --color-line-soft: #e6e6e6; --color-surface: #ebebeb; --color-accent-soft: #1a1a1a; --focus-ring: 2px solid #1a1a1a; --cut-color: var(--color-line); --bk-field: #ffffff; --bk-faint: #8a8a8a; --bk-locked: #efefef; --bk-button: #31384a; --bk-button-hover: #414a61; --bk-button-active: #262c3b; --bk-error: #c62828; --bk-success: #1f9d55; --bk-error-fill: #fdecec; --bk-lift: 0 1px 2px rgb(0 0 0 / 0.06), 0 1px 1px rgb(0 0 0 / 0.04); width: min(100vw - 32px, 44rem); max-width: none; max-height: min(100dvh - 48px, 60rem); margin: auto; padding: 0; color: var(--color-fg); background: var(--color-bg); border: 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 20px, 100% 100%, 0 100%); --cut-x: 14px; --cut-y: 20px; overscroll-behavior: contain; }
.bk[open] { display: flex; animation: bk-in 0.4s var(--ease-out); }
.bk::backdrop { background: rgb(0 0 0 / 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes bk-in {from { opacity: 0; translate: 0 16px; }}
html:has(dialog.bk[open]) { overflow: hidden; }
.bk .bk__frame,
.bk .bk__form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.bk .bk__frame { width: 100%; }
.bk .bk__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding: 1.25rem clamp(1.25rem, 3vw, 2rem) 1rem; border-bottom: 1px solid var(--color-line); }
.bk .partner { flex: 1 0 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; column-gap: 0.75rem; margin-top: 0.5rem; padding: 0.6rem 0.5rem 0.6rem 0.6rem; background: var(--bk-field); box-shadow: var(--bk-lift); }
.bk .partner__icon { width: 36px; height: 36px; }
.bk .partner__text { min-width: 0; line-height: 1.3; }
.bk .partner__name { margin: 0; font-size: 0.9375rem; color: var(--color-fg); }
.bk .partner__name strong { font-weight: 700; letter-spacing: -0.01em; color: var(--bk-button); }
.bk .partner__about { margin: 0.1rem 0 0; font-size: 0.8125rem; color: var(--color-muted); }
.bk .partner__more { display: inline-flex; align-items: center; gap: 0.25rem; min-height: var(--tap-min); padding: 0 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--bk-button); white-space: nowrap; text-decoration: underline; text-decoration-color: rgb(49 56 74 / 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.bk .partner__more:hover { text-decoration-color: currentColor; }
.bk .partner__more svg { width: 14px; height: 14px; }
@media (max-width: 480px) {
  .bk .partner { grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
  .bk .partner__more { grid-column: 2; justify-self: start; min-height: 36px; margin: 0 0 -0.4rem; padding: 0; }
}
.bk .bk__next { display: flex; gap: 0.6rem; margin: 0.75rem 0 1.25rem; padding: 0.85rem 1rem; font-size: 0.9375rem; line-height: 1.45; color: var(--color-fg); background: var(--color-surface); }
.bk .bk__consent { margin: -0.5rem 0 1.25rem; }
.bk .bk__consent-label { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.8125rem; line-height: 1.45; color: var(--color-muted); cursor: pointer; }
.bk .bk__consent-label input { flex: none; width: 16px; height: 16px; margin: 0.1rem 0 0; accent-color: var(--bk-button); cursor: pointer; }
.bk .bk__consent-label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bk .bk__consent-label a:hover { color: var(--color-fg); }
.bk .bk__next svg { flex: none; width: 18px; height: 18px; margin-top: 0.1rem; color: var(--bk-button); }
.bk .bk__title { margin: 0; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem) / 1.15 var(--font-display); color: var(--color-fg); }
.bk .bk__title:focus { outline: none; }
.bk .bk__close { display: grid; place-items: center; flex: none; width: var(--tap-min); height: var(--tap-min); margin-left: auto; margin-right: -0.5rem; padding: 0; color: var(--color-muted); background: none; border: 0; cursor: pointer; transition: color 0.2s; }
.bk .bk__close:hover { color: var(--color-fg); }
.bk .bk__close svg { width: 24px; height: 24px; }
.bk .bk__body { flex: 1; min-height: 0; min-width: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 0.5rem clamp(1.25rem, 3vw, 2rem) 1.5rem; scrollbar-color: rgb(0 0 0 / 0.25) transparent; scrollbar-width: thin; }
.bk .bk__alert { margin: 0 0 1.25rem; padding: 0.85rem 1rem; font-weight: 500; color: #8e1b1b; background: var(--bk-error-fill); }
.bk .bk__group { margin: 0; padding: 1.25rem 0 0.5rem; border: 0; min-width: 0; }
.bk .bk__group + .bk__group { margin-top: 0.75rem; border-top: 1px solid var(--color-line-soft); }
.bk .bk__legend { float: left; width: 100%; margin-bottom: 1rem; padding: 0; font: 600 1.0625rem/1.3 var(--font-display); letter-spacing: 0.01em; color: var(--color-fg); }
.bk .bk__legend + * { clear: both; }
.bk .bk__services { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.bk .bk__services li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.75rem; padding: 0.6rem 0.25rem 0.6rem 0.9rem; background: var(--bk-field); box-shadow: var(--bk-lift); }
.bk .bk__services .svc-name { font-weight: 500; line-height: 1.35; }
.bk .bk__services .svc-time { display: block; font-size: 0.875rem; color: var(--color-muted); }
.bk .bk__services .svc-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk .bk__services .svc-remove { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); padding: 0; color: var(--color-muted); background: none; border: 0; cursor: pointer; transition: color 0.2s; }
.bk .bk__services .svc-remove:hover { color: var(--color-fg); }
.bk .bk__services .svc-remove svg { width: 20px; height: 20px; }
.bk .bk__empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding: 1rem; color: var(--color-muted); background: var(--color-surface); }
.bk .bk__empty p { margin: 0; }
.bk .field { position: relative; display: flex; flex-direction: column; gap: 0.4rem; margin: 0 0 1.1rem; min-width: 0; }
.bk .field__label { padding: 0; font-size: 0.9375rem; font-weight: 500; color: var(--color-fg); }
.bk .field__input { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: 0 0.9rem; font: inherit; font-size: 1rem; color: var(--color-fg); caret-color: var(--color-fg); background: var(--bk-field); border: 0; border-radius: 0; box-shadow: var(--bk-lift); transition: box-shadow 0.2s, background-color 0.2s; }
.bk .field__input::placeholder { color: var(--bk-faint); }
.bk .field__input:hover:not(:disabled) { box-shadow: 0 2px 6px rgb(0 0 0 / 0.1); }
.bk .field__input:focus { outline: 2px solid var(--color-fg); outline-offset: 0; }
.bk .field__input:disabled { color: var(--bk-faint); background: var(--bk-locked); box-shadow: none; cursor: not-allowed; }
.bk .field__input[aria-invalid='true'] { background: var(--bk-error-fill); }
.bk .field__input::-webkit-calendar-picker-indicator { cursor: pointer; }
.bk .field__hint { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--color-muted); }
.bk .field__error { display: flex; gap: 0.4rem; margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--bk-error); }
.bk .field__error::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 0.45em; background: currentColor; transform: rotate(45deg); }
.bk .bk__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; }
.bk .bk__contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 1rem; align-items: start; }
.bk .bk__wide { grid-column: 1 / -1; }
.bk .tel { position: relative; display: flex; gap: 0.5rem; }
.bk .tel__input { flex: 1 1 auto; }
.bk .tel__country { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 0.6rem 0 0.8rem; font: inherit; font-size: 1rem; color: var(--color-fg); background: var(--bk-field); border: 0; border-radius: 0; box-shadow: var(--bk-lift); cursor: pointer; transition: box-shadow 0.2s; }
.bk .tel__country:hover { box-shadow: 0 2px 6px rgb(0 0 0 / 0.1); }
.bk .tel__country:focus-visible,
.bk .tel__country[aria-expanded='true'] { outline: 2px solid var(--color-fg); outline-offset: 0; }
.bk .tel__dial { min-width: 2.4em; font-variant-numeric: tabular-nums; text-align: left; }
.bk .tel__chevron { width: 18px; height: 18px; color: var(--color-muted); transition: rotate 0.2s; }
.bk .tel__country[aria-expanded='true'] .tel__chevron { rotate: 180deg; }
.bk .tel__flag { flex: none; display: block; width: 21px; height: 14px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); }
.bk .tel__flag svg { display: block; width: 100%; height: 100%; }
.bk .tel__list { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; width: min(18rem, 100%); margin: 0; padding: 0.25rem 0; list-style: none; background: var(--bk-field); box-shadow: 0 16px 40px rgb(0 0 0 / 0.16); }
.bk .tel__list:focus { outline: none; }
.bk .tel__option { display: flex; align-items: center; gap: 0.75rem; min-height: var(--tap-min); padding: 0.5rem 0.9rem; cursor: pointer; }
.bk .tel__option:hover,
.bk .tel__option.is-active { background: rgb(0 0 0 / 0.05); box-shadow: inset 2px 0 0 var(--color-fg); }
.bk .tel__name { flex: 1 1 auto; }
.bk .tel__option[aria-selected='true'] .tel__name { font-weight: 600; }
.bk .tel__code { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.bk .bk__hours { margin: -0.5rem 0 1rem; }
.bk .select { position: relative; }
.bk .select select { appearance: none; padding-right: 2.5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.bk .select svg,
.bk .combo__chevron { position: absolute; right: 0.75rem; top: 50%; width: 20px; height: 20px; color: var(--color-muted); translate: 0 -50%; pointer-events: none; }
.bk .combo__box { position: relative; }
.bk .combo__input { padding-right: 2.5rem; }
.bk .combo__pop { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; max-height: 17rem; overflow-y: auto; background: var(--bk-field); box-shadow: 0 16px 40px rgb(0 0 0 / 0.16); scrollbar-color: rgb(0 0 0 / 0.25) transparent; scrollbar-width: thin; }
.bk .combo__status { margin: 0; padding: 0.75rem 0.9rem; font-size: 0.9375rem; color: var(--color-muted); }
.bk .combo__list { margin: 0; padding: 0.25rem 0; list-style: none; }
.bk .combo__list [role='option'] { display: flex; align-items: center; min-height: var(--tap-min); padding: 0.5rem 0.9rem; cursor: pointer; }
.bk .combo__list [role='option']:hover,
.bk .combo__list [role='option'][aria-selected='true'] { background: rgb(0 0 0 / 0.05); box-shadow: inset 2px 0 0 var(--color-fg); }
.bk .combo__list .is-current { font-weight: 600; color: var(--color-fg); }
.bk .combo__list .is-action { font-weight: 600; color: var(--color-fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(0 0 0 / 0.35); }
.bk .bk__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1rem clamp(1.25rem, 3vw, 2rem) calc(1rem + env(safe-area-inset-bottom)); background: var(--bk-field); border-top: 1px solid var(--color-line); }
.bk .bk__total { display: flex; align-items: baseline; gap: 0.75rem; }
.bk .bk__total-label { color: var(--color-muted); }
.bk .bk__total-value { font: 600 1.6rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-fg); }
.bk .bk__svc-note { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--color-muted); }
.bk .bk__svc-note:empty { display: none; }
.bk .bk__actions { display: flex; gap: 0.75rem; }
.bk .bk__actions .btn { min-height: 50px; padding-inline: 22px; font-size: 1.0625rem; }
.bk .btn { color: var(--color-fg); background-color: #e3e3e3; box-shadow: none; }
.bk .btn::before { display: none; }
.bk .btn:hover,
.bk .btn:focus-visible { background-color: #d6d6d6; box-shadow: none; }
.bk .btn:active { background-color: #cccccc; }
.bk .btn--primary { color: #fff; background-color: var(--bk-button); }
.bk .btn--primary:hover,
.bk .btn--primary:focus-visible { background-color: var(--bk-button-hover); }
.bk .btn--primary:active { background-color: var(--bk-button-active); }
.bk .btn--primary:focus-visible { outline-color: #fff; }
.bk .bk__done { flex: 1; overflow-y: auto; padding: 0.5rem clamp(1.25rem, 3vw, 2rem) calc(1.75rem + env(safe-area-inset-bottom)); }
.bk .bk__done .done__head { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0.75rem; }
.bk .bk__done .done__icon { flex: none; width: 44px; height: 44px; color: var(--color-accent-soft); }
.bk .bk__done h3 { margin: 0; font: 600 clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem) / 1.2 var(--font-display); color: var(--color-fg); }
.bk .bk__done .done__check { flex: none; width: 52px; height: 52px; overflow: visible; }
.bk .bk__done .done__check-disc,
.bk .bk__done .done__check-halo { transform-box: fill-box; transform-origin: center; }
.bk .bk__done .done__check-disc { fill: var(--bk-success); animation: done-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.bk .bk__done .done__check-halo { fill: none; stroke: var(--bk-success); stroke-width: 2; opacity: 0; animation: done-halo 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards; }
.bk .bk__done .done__check-mark { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 31; stroke-dashoffset: 31; animation: done-draw 0.4s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards; }
@keyframes done-pop {from { transform: scale(0); } to { transform: scale(1); }}
@keyframes done-halo {from { opacity: 0.55; transform: scale(1); } to { opacity: 0; transform: scale(1.6); }}
@keyframes done-draw {to { stroke-dashoffset: 0; }}
@media (prefers-reduced-motion: reduce) {
  .bk .bk__done .done__check-disc,
.bk .bk__done .done__check-halo,
.bk .bk__done .done__check-mark { animation: none; }
  .bk .bk__done .done__check-mark { stroke-dashoffset: 0; }
}
.bk .bk__done .done__status { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; padding: 0.35rem 0.75rem; font-size: 0.875rem; color: var(--color-muted); background: var(--color-surface); }
.bk .bk__done .done__status strong { font-weight: 600; color: var(--color-fg); }
.bk .bk__done .done__status::before { content: ''; width: 8px; height: 8px; background: var(--bk-button); border-radius: 50%; }
.bk .bk__done .done__status[data-state='local']::before { background: var(--bk-error); }
.bk .bk__done .done__lead { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.5; color: var(--color-fg); }
.bk .bk__done .done__lead strong { white-space: nowrap; }
.bk .bk__done .done__subtitle { margin: 1.75rem 0 0.75rem; padding-top: 1.25rem; font: 600 1.0625rem/1.3 var(--font-display); color: var(--color-fg); border-top: 1px solid var(--color-line-soft); }
.bk .bk__done dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.25rem; margin: 0 0 1.5rem; }
.bk .bk__done dt { color: var(--color-muted); }
.bk .bk__done dd { margin: 0; color: var(--color-fg); }
@media (max-width: 480px) {
  .bk .bk__done dl { grid-template-columns: minmax(0, 1fr); row-gap: 0.15rem; }
  .bk .bk__done dd { margin-bottom: 0.65rem; }
}
.bk .bk__done dd ul { margin: 0; padding: 0; list-style: none; }
.bk .bk__done .done__call { margin: 0 0 1.5rem; color: var(--color-muted); }
.bk .bk__done .done__call a { color: var(--color-fg); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--color-accent-soft); }
.bk .bk__done .done__partner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto 1fr; grid-template-areas: '. screens' 'head screens' 'cta screens' '. screens'; column-gap: 1.25rem; height: 15.125rem; margin-top: 2rem; padding: 1.25rem 1.2rem 0 1.5rem; overflow: hidden; background: var(--bk-field); box-shadow: var(--bk-lift); }
.bk .bk__done .done__partner-head { grid-area: head; display: flex; align-items: center; gap: 1rem; }
.bk .bk__done .done__partner-head img { flex: none; width: 40px; height: 40px; }
.bk .bk__done .done__partner h4 { margin: 0; font: 600 1rem/1.3 var(--font-display); text-wrap: balance; color: var(--bk-button); }
.bk .bk__done .done__partner-screens { grid-area: screens; display: flex; align-items: flex-start; gap: 7px; }
.bk .bk__done .done__partner-screens img { display: block; width: 141px; height: auto; }
.bk .bk__done .done__partner .btn { grid-area: cta; justify-self: start; gap: 0.5rem; width: 272px; max-width: 100%; min-height: 48px; margin-top: 1rem; padding-inline: 22px; font-size: 1.0625rem; }
.bk .bk__done .done__partner .btn svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .bk .bk__done .done__partner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: 'head' 'screens' 'cta'; height: auto; padding: 1.25rem 0.5rem 1.3rem; }
  .bk .bk__done .done__partner-head { gap: 0.875rem; padding-inline: 0.75rem; }
  .bk .bk__done .done__partner h4 { font-size: 0.9375rem; }
  .bk .bk__done .done__partner-screens { justify-content: center; gap: 6px; height: 205px; margin-top: 1.5rem; overflow: hidden; }
  .bk .bk__done .done__partner-screens img { width: 123px; }
  .bk .bk__done .done__partner .btn { position: relative; justify-self: stretch; width: auto; margin-top: -10px; }
}
@media (max-width: 720px) {
  .bk::after { display: none; }
  .bk { width: 100%; height: 100%; max-height: none; margin: 0; border: 0; clip-path: none; }
  .bk .bk__head { padding-top: calc(1rem + env(safe-area-inset-top)); }
  .bk .bk__pair { column-gap: 0.75rem; }
  .bk .bk__contact { grid-template-columns: minmax(0, 1fr); }
  .bk .bk__foot { gap: 0.75rem; }
  .bk .bk__total { width: 100%; }
  .bk .bk__actions { width: 100%; }
  .bk .bk__actions .btn { flex: 1 1 0; padding-inline: 12px; }
}
@media (max-width: 560px) {
  .bk .bk__pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .bk .tel__dial { display: none; }
}
@media (max-width: 720px) and (pointer: coarse) {
  .bk .bk__form:has(.field__input:focus) .bk__foot { display: none; }
  .bk .bk__form:has(.field__input:focus) .bk__body { padding-bottom: calc(1.5rem + var(--bk-foot-h, 0px)); }
}
.bk .bk__code { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); overflow-y: auto; }
.bk .bk__code[hidden] { display: none; }
.bk .bk__code-title { margin: 0; font: 600 1.375rem/1.25 var(--font-display); color: var(--color-fg); }
.bk .bk__code-title:focus { outline: none; }
.bk .bk__code-text { margin: 0; color: var(--color-fg); line-height: 1.55; }
.bk .bk__code-input { max-width: 12rem; font-size: 1.5rem; letter-spacing: 0.4em; text-align: center; }
.bk .bk__code-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.bk .btn--link { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.bk .bk__captcha:empty { display: none; }
.bk .bk__captcha { margin-block: 0.5rem; }

/* FenixPro: fonts, the rounded corners and what the Auto Pulse site supplied globally. The panel keeps CarAssistant's
   light look, because the form is CarAssistant's. */
.bk {
  --tap-min: 44px; --ease-out: cubic-bezier(.16, 1, .3, 1); --font-display: 'Barlow Condensed', sans-serif;
  clip-path: none; border-radius: var(--radius); overflow: hidden; font-family: Manrope, sans-serif;
}
.bk .bk__title { text-transform: uppercase; }
.bk .bk__legend, .bk .bk__code-title, .bk .bk__done h3, .bk .bk__done .done__subtitle, .bk .bk__done .done__partner h4 { font-family: Manrope, sans-serif; letter-spacing: -.01em; }
.bk .bk__total-value { font-family: Manrope, sans-serif; font-size: 1.4rem; }
.bk .bk__services li, .bk .partner, .bk .bk__empty, .bk .bk__next, .bk .bk__alert, .bk .done__partner, .bk .done__status { border-radius: 10px; }
/* fields and their drop-down lists: square and 16 px, exactly as in the Auto Pulse form */
.bk .combo__pop, .bk .tel__list, .bk .date { font-size: 1rem; }
.bk svg { fill: none; stroke: none; }
.bk .tel__flag svg { width: 100%; height: 100%; }
.bk .tel__chevron, .bk .combo__chevron { display: block; }
.bk .tel__chevron svg { width: 18px; height: 18px; }
.bk .combo__chevron svg { width: 20px; height: 20px; display: block; }
.bk .bk__services li.is-unavailable .svc-name { color: var(--bk-error); }
.bk .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 18px; font: inherit; font-weight: 600; border: 0; border-radius: 10px; cursor: pointer; transition: background-color .2s; }
.bk .btn:disabled { opacity: .55; cursor: not-allowed; }
.bk .btn--link { background: none; }
.bk .bk__pick-more { margin-top: .75rem; }
.bk .bk__pick-more[hidden] { display: none; }
@media (max-width: 720px) { .bk { border-radius: 0; } }

/* the catalogue: chosen rows and the count on the booking buttons */
[data-service-id].is-picked .service-name, .price-table a.is-picked span:first-child { color: var(--accent); font-weight: 600; }
[data-service-id].is-picked .service-name::before, .price-table a.is-picked span:first-child::before { content: '✓\00a0'; }
:where([data-booking]) { position: relative; }
.bk-count { position: absolute; top: -7px; right: -7px; z-index: 2; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font: 700 12px/1 Manrope, sans-serif; color: var(--on-accent); background: var(--accent-solid); border: 2px solid var(--bg); border-radius: 11px; }
.bk-count[hidden] { display: none; }
/* the metal button clips what sticks out: the count sits inside its corner */
.button-metal .bk-count { top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; background: var(--ink); border: 0; border-radius: 8px; }

/* the date field's own calendar (datepicker.js): it drops down under the field and is exactly as wide */
.bk .date__input { display: flex; align-items: center; padding-right: 2.5rem; text-align: left; cursor: pointer; }
.bk .date__label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bk .date__label.is-placeholder { color: var(--bk-faint); }
.bk .date__pop { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; box-sizing: border-box; padding: 0.5rem 0.5rem 0.75rem; background: var(--bk-field); box-shadow: 0 16px 40px rgb(0 0 0 / 0.16); }
.bk .date__pop[hidden] { display: none; }
.bk .date__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.bk .date__month { font-weight: 600; text-transform: capitalize; }
.bk .date__nav { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--color-fg); background: none; border: 0; cursor: pointer; }
.bk .date__nav:hover:not(:disabled) { background: rgb(0 0 0 / 0.05); }
.bk .date__nav:disabled { color: var(--bk-faint); cursor: default; }
.bk .date__pop svg { position: static; width: 20px; height: 20px; translate: none; color: currentColor; }
.bk .date__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.bk .date__wd { padding: 0.35rem 0; font-size: 0.75rem; text-align: center; text-transform: capitalize; color: var(--color-muted); }
.bk .date__day { height: 40px; padding: 0; font: inherit; font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: var(--color-fg); background: none; border: 0; cursor: pointer; }
.bk .date__day:hover:not(:disabled) { background: rgb(0 0 0 / 0.05); box-shadow: inset 2px 0 0 var(--color-fg); }
.bk .date__day:disabled { color: #c4c4c4; cursor: default; }
.bk .date__day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bk .date__day[aria-pressed="true"] { color: #fff; font-weight: 600; background: var(--bk-button); box-shadow: none; }
.bk .date__day:focus-visible, .bk .date__nav:focus-visible { outline: 2px solid var(--color-fg); outline-offset: -2px; }
/* phones: the pinned total and buttons step aside while the calendar is open, so it fits even on a small iPhone */
@media (max-width: 720px) { .bk .bk__form:has(.date__pop:not([hidden])) .bk__foot { display: none; } }
