/* Własny widget rezerwacji – wygląd jak ostylowany widget Bookero */
#booking-widget { font-family: var(--font-body); color: var(--text); }
.bk-form { max-width: 100%; }
.bk-header { background: var(--accent); color: #fff; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 20px; margin: 0 0 24px; }
.bk-heading { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--heading); margin: 28px 0 14px; text-transform: none; letter-spacing: 0; }
.bk-heading.has-separator { border-top: 1px solid var(--line); padding-top: 24px; }
.bk-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin: 12px 0 6px; }
.bk-req { color: var(--accent-dark); margin-left: 2px; }
.bk-select, .bk-input { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; background: #fff; color: var(--text); }
.bk-select:focus, .bk-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 196, 243, .2); }
.bk-term-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bk-month { font-family: var(--font-head); font-weight: 500; color: var(--heading); font-size: 14px; }
.bk-week { display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; align-items: start; }
.bk-nav { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--heading); font-size: 20px; line-height: 1; cursor: pointer; margin-top: 10px; }
.bk-nav:hover { border-color: var(--accent); color: var(--accent); }
.bk-nav.is-hidden { visibility: hidden; }
.bk-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bk-day-head { text-align: center; border-bottom: 2px solid var(--line); padding: 6px 0 8px; margin-bottom: 8px; line-height: 1.2; }
.bk-day-head strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--heading); text-transform: uppercase; letter-spacing: .04em; }
.bk-day-head small { color: var(--muted); font-size: 11px; }
.bk-hours { display: flex; flex-direction: column; gap: 8px; }
.bk-hour { background: #f2f9fe; border: 1px solid #d5ecf8; border-radius: 6px; color: var(--accent-dark); font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 8px 4px; cursor: pointer; position: relative; transition: background .12s, border-color .12s, color .12s, transform .12s; }
.bk-hour.is-valid:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.bk-hour.is-waiting { background: #f4f4f4; border-color: #ececec; color: #9a9a9a; font-weight: 500; }
.bk-hour.is-waiting::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 60%; height: 2px; background: #e63939; opacity: .7; transform: translateX(-50%); }
.bk-hour.is-waiting:hover { background: #ececec; }
.bk-hour.is-taken { opacity: .4; cursor: not-allowed; }
.bk-hour.is-selected { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.bk-legend-chip { display: inline-block; padding: 2px 6px; font-size: 11px; cursor: default; }
.bk-legend { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.bk-empty { font-size: 11px; color: var(--muted); font-style: italic; text-align: center; padding: 8px 2px; }
.bk-info { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.bk-selected { margin: 20px 0 0; padding: 12px 14px; background: #f2f9fe; border: 1px solid #d5ecf8; border-radius: 6px; font-size: 14px; }
.bk-selected.is-waiting { background: #fff7f7; border-color: #f3d4d4; }
.bk-waiting-note { font-size: 13px; color: #a33; margin-top: 6px; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 16px 0 6px; line-height: 1.5; }
.bk-check input { margin-top: 3px; }
.bk-required-note { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.bk-error { color: #c0392b; font-size: 13px; min-height: 1.2em; margin: 8px 0 0; }
.bk-submit { text-align: right; margin-top: 10px; }
.bk-button { background: var(--accent); border: 0; border-radius: var(--radius); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .03em; padding: 12px 26px; cursor: pointer; }
.bk-button:hover { background: #2db3ea; }
.bk-button:disabled { opacity: .6; cursor: wait; }
.bk-button-ghost { background: #fff; color: var(--accent-dark); border: 1px solid var(--accent); }
.bk-footer { text-align: center; font-size: 11px; color: var(--muted); margin: 20px 0 0; }
.bk-loading, .bk-blocked { text-align: center; color: var(--muted); padding: 20px; }
.bk-done { text-align: center; padding: 20px 0; }
.bk-done-icon { width: 56px; height: 56px; border-radius: 50%; background: #78b02e; color: #fff; font-size: 30px; line-height: 56px; margin: 0 auto 14px; }
.bk-done-text { font-size: 15px; margin: 0 0 18px; }
/* Forma płatności – kafelki jak w Bookero (.payment-methods-item) */
.bk-pay-methods { display: flex; flex-wrap: wrap; margin: 0 -1% 10px; }
.bk-pay-methods.is-hidden { display: none; }
.bk-pay-item { position: relative; display: flex; align-items: center; justify-content: center; width: 23%; height: 120px; margin: 1%; padding: 0; border: 1px solid #e6e6e6; border-radius: 5px; background: #fff; cursor: pointer; transition: border .3s ease-out, background-color .3s ease-out; }
.bk-pay-item:hover { border-color: var(--accent); }
.bk-pay-item.is-active { background: var(--accent); border-color: var(--accent); }
.bk-pay-wrap { position: absolute; display: flex; align-items: center; justify-content: center; width: calc(100% - 4px); height: calc(100% - 4px); background: #fff; border-radius: 2px; }
.bk-pay-icon { width: 100px; margin: -24px 0 0; }
.bk-pay-name { position: absolute; bottom: 10px; left: 5%; width: 90%; text-align: center; color: #777; font-size: 12px; font-weight: 700; line-height: 1.2; }
/* Telefon z flagą kraju (jak vue-tel-input w Bookero) */
.bk-tel { position: relative; display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bk-tel:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 196, 243, .2); }
.bk-tel-btn { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #f6f7f9; border: 0; border-right: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); cursor: pointer; }
.bk-tel-flag { width: 22px; height: 16px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.bk-tel-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #777; }
.bk-tel .bk-tel-input { border: 0; box-shadow: none; flex: 1; min-width: 0; }
.bk-tel-list { position: absolute; z-index: 20; top: calc(100% + 2px); left: 0; width: 280px; max-height: 260px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.bk-tel-opt { display: flex; width: 100%; align-items: center; gap: 8px; padding: 6px 10px; font: inherit; font-size: 13px; color: var(--text); text-align: left; background: none; border: 0; cursor: pointer; }
.bk-tel-opt:hover, .bk-tel-opt:focus { background: #f2f9fe; outline: none; }
.bk-tel-list img { width: 20px; height: 15px; object-fit: cover; }
.bk-tel-list small { margin-left: auto; color: var(--muted); }
.cf-turnstile { margin: 12px 0 0; }
@media (max-width: 700px) {
  /* iOS Safari przybliża stronę przy polu z czcionką < 16px i nie oddala – stąd „rozjeżdżanie się” */
  .bk-select, .bk-input { font-size: 16px; }
  .bk-days { grid-template-columns: repeat(3, 1fr); }
  .bk-week { grid-template-columns: 28px 1fr 28px; gap: 4px; }
  .bk-nav { width: 28px; height: 28px; font-size: 16px; }
  .bk-pay-item { width: 48%; }
}
.bk-more { border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #999; height: 28px; cursor: pointer; font-size: 14px; }
.bk-more:hover { border-color: var(--accent); color: var(--accent); }
