body.is-calendar-open {
  overflow: hidden;
}

.search-panel--hero .field__date-button,
.detail-booking__form .field__date-button {
  display: flex;
  width: 100%;
  min-height: 28px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.search-panel--hero .field__date-button svg,
.detail-booking__form .field__date-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--main);
  stroke-width: 1.5;
}

.search-panel--hero .field__date-button:focus-visible,
.detail-booking__form .field__date-button:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 5px;
}

.date-range {
  width: min(1080px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 28px 36px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 80px rgba(37, 50, 58, 0.2);
  overflow: auto;
  overscroll-behavior: contain;
}

.date-range::backdrop {
  background: rgba(37, 50, 58, 0.34);
}

.date-range button {
  font-family: inherit;
  cursor: pointer;
}

.date-range button:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
}

.date-range button:disabled {
  cursor: default;
}

.date-range__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.date-range__header h2 {
  font-size: 20px;
  letter-spacing: 0.03em;
}

.date-range__close {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.date-range__selection {
  display: grid;
  max-width: 660px;
  margin: 16px auto 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.date-range__selection-button {
  display: grid;
  min-height: 72px;
  padding: 12px 18px;
  gap: 3px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.date-range__selection-button[aria-pressed="true"] {
  border-color: var(--main);
  background: var(--surface-muted);
  box-shadow: inset 0 -3px 0 var(--main);
}

.date-range__selection-button span {
  font-size: 12px;
}

.date-range__selection-button strong {
  font-size: 14px;
}

.date-range__arrow {
  color: var(--main);
}

.date-range__help {
  min-height: 1.8em;
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.date-range__navigation {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.date-range__navigation button {
  width: 40px;
  height: 36px;
  background: var(--surface-muted);
  color: var(--ink);
}

.date-range__navigation button:disabled {
  opacity: 0.35;
}

.date-range__navigation p {
  font-size: 14px;
  font-weight: 600;
}

.date-range__months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.date-range__month {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 4px;
}

.date-range__month caption {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
}

.date-range__month th {
  height: 28px;
  font-size: 12px;
  font-weight: 500;
}

.date-range__month th:first-child,
.date-range__month td:first-child .date-range__day {
  color: #a0484e;
}

.date-range__month th:last-child,
.date-range__month td:last-child .date-range__day {
  color: var(--main);
}

.date-range__month td {
  height: 38px;
  padding: 0;
  text-align: center;
}

.date-range .date-range__day {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.date-range .date-range__day:disabled {
  opacity: 0.28;
}

.date-range .date-range__day:not(:disabled):hover {
  border-color: var(--main);
}

.date-range__month .is-in-range {
  background: var(--surface-muted);
}

.date-range__month .is-range-start {
  background: linear-gradient(to right, transparent 50%, var(--surface-muted) 50%);
}

.date-range__month .is-range-end {
  background: linear-gradient(to left, transparent 50%, var(--surface-muted) 50%);
}

.date-range .date-range__month .date-range__day.is-range-edge {
  border-color: var(--main);
  background: var(--main);
  color: var(--on-dark);
  opacity: 1;
  font-weight: 700;
}

.date-range__footer {
  display: flex;
  margin-top: 20px;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.date-range__clear {
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.date-range__confirm {
  min-height: 44px;
  padding: 0 24px;
  background: var(--main);
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 700;
}

.date-range__confirm:disabled {
  background: var(--surface-muted);
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .date-range {
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 20px 24px;
  }

  .date-range__months {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
    margin: 0 auto;
  }

  .date-range__month caption {
    margin-bottom: 8px;
  }

  .date-range__navigation {
    margin-bottom: 8px;
  }

  .date-range__month td,
  .date-range .date-range__day {
    height: 40px;
  }

  .date-range__selection {
    gap: 8px;
  }

  .date-range__selection-button {
    min-height: 66px;
    padding: 10px;
  }

  .date-range__selection-button strong {
    font-size: 14px;
  }

  .date-range__help {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .date-range {
    padding: 16px;
  }

  .date-range__selection-button strong {
    font-size: 12px;
  }

  .date-range__footer {
    gap: 12px;
  }

  .date-range__confirm {
    padding: 0 16px;
  }
}

.date-range__quick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.date-range__quick button,.date-range__candidates button{border:1px solid #b9c8c3;border-radius:6px;background:#fff;padding:10px 14px;color:#193c32;font:inherit;cursor:pointer}
.date-range__quick button:hover,.date-range__candidates button:hover{background:#eef5f1}
.date-range__candidates{display:grid;gap:8px;font-size:14px}
.date-range__candidates:empty{display:none}
.date-range__candidates p{margin:4px 0}
.date-range__estimate{padding:10px 12px;background:#f0f5f2;font-size:14px;line-height:1.7}
.date-range__day.is-closed{text-decoration:line-through;color:#a79e9e}
.date-range{max-height:92dvh;overflow:auto}
.bizmo-booking .field__date-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #b9c8c3;border-radius:6px;padding:10px;font:inherit;color:inherit}
.bizmo-booking .field__date-button svg{width:20px;fill:none;stroke:currentColor}
.is-calendar-open .bizmo-roadside-note{visibility:hidden}

.date-range__footer{position:sticky;bottom:-32px;background:#f7fafb;z-index:2;box-shadow:0 -1px 0 #d6e0e4;padding:14px 0}
.date-range__quick button:disabled{opacity:.45;cursor:default}
@media(max-width:600px){
.date-range{padding:16px;width:calc(100% - 20px);max-height:94dvh}
.date-range__header{margin-bottom:12px}.date-range__header h2{font-size:20px}
.date-range__help{font-size:12px;margin:8px 0}
.date-range__quick{gap:6px;flex-wrap:nowrap;font-size:14px}.date-range__quick button{padding:8px 10px;white-space:nowrap}
.date-range__candidates{font-size:14px;gap:6px}.date-range__candidates button{padding:10px;line-height:1.6;text-align:left}
.date-range__estimate{font-size:12px;padding:8px;margin:8px 0}
.date-range__footer{bottom:-16px;padding:12px 0;gap:8px}.date-range__footer button{font-size:14px;padding:12px}
}
