

/* Start:/local/components/notix/booking/templates/.default/style.css?17951853229246*/
/* Нотикс: бронирование лофтов. Мобильный в первую очередь, цвета от темы Аспро. */
.nx-bk {
    --nx-accent: var(--theme-base-color, #000);
    --nx-text: var(--basic_text_black, #333);
    --nx-muted: var(--secondary_text_black, #777);
    --nx-line: var(--stroke_black, #e5e5e5);
    --nx-card: var(--card_bg_black, #fff);
    --nx-soft: rgba(127, 127, 127, .08);
    --nx-radius: var(--theme-outer-border-radius, 16px);
    --nx-btn-radius: var(--theme-button-border-radius, 8px);
    color: var(--nx-text);
    max-width: 100%;
    overflow-wrap: anywhere;
    padding-bottom: 24px;
}
.nx-bk *, .nx-bk *::before, .nx-bk *::after { box-sizing: border-box; }
.nx-bk [hidden] { display: none !important; }
.nx-bk-lead { margin: 0 0 20px; max-width: 760px; }
.nx-bk-h2 { font-size: 20px; line-height: 1.3; margin: 28px 0 8px; font-weight: 500; }
.nx-bk-note { color: var(--nx-muted); margin: 0 0 14px; }
.nx-bk-hint { color: var(--nx-muted); margin-top: 4px; }
.nx-bk-alert { padding: 14px 16px; border-radius: var(--nx-btn-radius); background: var(--nx-soft); margin: 12px 0; font-size: 15px; }
.nx-bk-alert--error { background: rgba(220, 53, 69, .1); color: #b4232f; }
.nx-bk-alert--ok { background: rgba(40, 167, 69, .12); color: #1d7a35; }
.nx-bk-link { background: none; border: 0; padding: 0; color: var(--nx-accent); text-decoration: underline; cursor: pointer; }

/* фото и заглушка */
.nx-bk-photo--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--nx-muted); background: var(--nx-soft); font-size: 14px; }
.nx-bk-card__photo, .nx-bk-room__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--nx-radius); }
.nx-bk-card__photo img, .nx-bk-room__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* факты */
.nx-bk-facts { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-bk-facts li { margin: 0; padding: 4px 10px; border-radius: 20px; background: var(--nx-soft); font-size: 14px; line-height: 1.4; }
.nx-bk-facts li::before { display: none; }

/* список */
.nx-bk-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.nx-bk-card { display: flex; flex-direction: column; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-card); color: inherit; text-decoration: none; overflow: hidden; transition: box-shadow .2s; }
.nx-bk-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); color: inherit; }
.nx-bk-card .nx-bk-card__photo { border-radius: 0; }
.nx-bk-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.nx-bk-card__text { color: var(--nx-muted); margin-bottom: 16px; }
.nx-bk-card__btn { margin-top: auto; align-self: flex-start; }

/* карточка помещения */
.nx-bk-room { display: grid; grid-template-columns: 1fr; gap: 16px; }
.nx-bk-room__text { margin-bottom: 12px; }
.nx-bk-room__rules { margin: 12px 0; }
.nx-bk-room__busy { color: var(--nx-muted); }

/* даты */
.nx-bk-dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.nx-bk-date { flex: 0 0 64px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--nx-line); border-radius: var(--nx-btn-radius); background: var(--nx-card); color: var(--nx-text); cursor: pointer; font: inherit; line-height: 1.2; }
.nx-bk-date__top { font-size: 12px; color: var(--nx-muted); }
.nx-bk-date__day { font-size: 20px; font-weight: 500; }
.nx-bk-date__month { font-size: 12px; color: var(--nx-muted); }
.nx-bk-date.is-weekend .nx-bk-date__top { color: #c0392b; }
.nx-bk-date.is-active { background: var(--nx-accent); border-color: var(--nx-accent); color: #fff; }
.nx-bk-date.is-active span { color: #fff; }

/* слоты */
.nx-bk-day { margin: 10px 0 10px; }
.nx-bk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; transition: opacity .2s; }
.nx-bk-slots.is-loading { opacity: .4; pointer-events: none; }
.nx-bk-slots .nx-bk-alert, .nx-bk-slots .nx-bk-empty { grid-column: 1 / -1; margin: 0; }
.nx-bk-empty { color: var(--nx-muted); }
.nx-bk-slot { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 4px; border: 1px solid var(--nx-line); border-radius: var(--nx-btn-radius); background: var(--nx-card); color: var(--nx-text); font: inherit; font-size: 16px; cursor: pointer; }
.nx-bk-slot:hover:not(:disabled) { border-color: var(--nx-accent); }
.nx-bk-slot.is-selected { background: var(--nx-accent); border-color: var(--nx-accent); color: #fff; }
.nx-bk-slot:disabled { cursor: default; background: var(--nx-soft); color: var(--nx-muted); border-color: transparent; }
.nx-bk-slot:disabled .nx-bk-slot__time { text-decoration: line-through; }
.nx-bk-slot__note { font-size: 11px; line-height: 1.2; }
.nx-bk-legend { color: var(--nx-muted); margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; }
.nx-bk-legend span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--nx-line); margin-left: 6px; }
.nx-bk-legend span:first-child { margin-left: 0; }
.nx-bk-legend__sel { background: var(--nx-accent); border-color: var(--nx-accent) !important; }
.nx-bk-legend__busy { background: var(--nx-soft); border-color: transparent !important; }

/* плашка выбора */
.nx-bk-bar { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--nx-radius); background: var(--nx-card); border: 1px solid var(--nx-accent); display: flex; flex-direction: column; gap: 10px; }
.nx-bk-bar__btn { width: 100%; }

/* форма */
.nx-bk-form { margin-top: 8px; max-width: 560px; }
.nx-bk-form__when { margin-bottom: 4px; font-weight: 500; }
.nx-bk-form .nx-bk-link[data-role="change"] { margin-bottom: 12px; }
.nx-bk-field { margin: 14px 0; }
.nx-bk-field label { display: block; margin-bottom: 6px; font-size: 15px; }
.nx-bk-field input[type="text"], .nx-bk-field input[type="tel"], .nx-bk-field input[type="email"], .nx-bk-field input[type="number"], .nx-bk-field textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--nx-text);
    background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: var(--nx-btn-radius); outline: none;
}
.nx-bk-field textarea { min-height: 90px; resize: vertical; }
.nx-bk-field input:focus, .nx-bk-field textarea:focus { border-color: var(--nx-accent); }
.nx-bk-field.has-error input, .nx-bk-field.has-error textarea { border-color: #dc3545; }
.nx-bk-err { color: #b4232f; font-size: 14px; margin-top: 4px; }
.nx-bk-err:empty { display: none; }
.nx-bk-req { color: #dc3545; }
.nx-bk-opt { color: var(--nx-muted); font-size: 13px; }
.nx-bk-stepper { display: flex; align-items: stretch; max-width: 200px; }
.nx-bk-stepper button { flex: 0 0 48px; min-height: 48px; border: 1px solid var(--nx-line); background: var(--nx-soft); color: var(--nx-text); font-size: 22px; cursor: pointer; }
.nx-bk-stepper button:first-child { border-radius: var(--nx-btn-radius) 0 0 var(--nx-btn-radius); }
.nx-bk-stepper button:last-child { border-radius: 0 var(--nx-btn-radius) var(--nx-btn-radius) 0; }
.nx-bk-stepper input[type="number"] { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; text-align: center; -moz-appearance: textfield; }
.nx-bk-stepper input::-webkit-outer-spin-button, .nx-bk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nx-bk-check { display: flex !important; gap: 10px; align-items: flex-start; cursor: pointer; }
.nx-bk-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--nx-accent); }
.nx-bk-captcha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nx-bk-captcha input { flex: 1 1 140px; }
.nx-bk-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-bk-submit { width: 100%; min-height: 52px; margin-top: 6px; }
.nx-bk-back { margin-top: 28px; }

/* итог */
.nx-bk-done { max-width: 640px; }
.nx-bk-done form { margin: 0 0 24px; }
.nx-bk-done__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--nx-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 12px; }

@media (min-width: 600px) {
    .nx-bk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-bk-slots { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .nx-bk-bar { flex-direction: row; align-items: center; justify-content: space-between; }
    .nx-bk-bar__btn { width: auto; min-width: 180px; }
    .nx-bk-submit { width: auto; min-width: 240px; }
}
@media (min-width: 992px) {
    .nx-bk-room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
    .nx-bk-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nx-bk-h2 { font-size: 24px; }
}

/* End */
/* /local/components/notix/booking/templates/.default/style.css?17951853229246 */
