.okb-booking {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  color: #2d2821;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
}

.okb-booking__form {
  display: grid;
  gap: 24px;
}

.okb-booking__section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  font-weight: 400;
}

.okb-booking__section p,
.okb-selected {
  color: #675d50;
}

.okb-booking__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.okb-booking__grid--guest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.okb-booking label,
.okb-message {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
}

.okb-booking input,
.okb-booking select,
.okb-booking textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfc7b8;
  border-radius: 4px;
  padding: 9px 11px;
  background: #fffdf8;
  color: #2d2821;
  box-sizing: border-box;
}

.okb-selected {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #ddd4c5;
  background: #f8f4eb;
}

.okb-selected span {
  display: block;
  font-size: 0.8rem;
}

.okb-selected strong {
  display: block;
  margin-top: 4px;
  color: #2d2821;
  font-size: 1.15rem;
}

.okb-calendar-note {
  margin: -6px 0 0;
  color: #70685d;
  font-size: 0.86rem;
}

.okb-calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.okb-calendar__month {
  border: 1px solid #d9d0c0;
  background: #fffdf8;
  padding: 16px;
}

.okb-calendar__month h3 {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 400;
}

.okb-calendar__weekdays,
.okb-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.okb-calendar__weekdays span {
  text-align: center;
  color: #70685d;
  font-size: 0.78rem;
}

.okb-calendar__blank,
.okb-calendar__day {
  min-height: 68px;
}

.okb-calendar__day {
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid #ddd4c5;
  border-radius: 4px;
  padding: 7px 4px;
  background: #ffffff;
  color: #2d2821;
  text-align: center;
  cursor: pointer;
}

.okb-calendar__day:hover:not(:disabled),
.okb-calendar__day.is-selected {
  border-color: #395243;
  box-shadow: inset 0 0 0 1px #395243;
}

.okb-calendar__day:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.okb-calendar__number {
  font-size: 1.05rem;
  line-height: 1;
}

.okb-calendar__price {
  display: block;
  color: #5b4d3f;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.okb-calendar__status {
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: nowrap;
}

.okb-calendar__day.is-open .okb-calendar__status {
  color: #2f6b4a;
}

.okb-calendar__day.is-few .okb-calendar__status {
  color: #9a5a15;
}

.okb-calendar__day.is-full,
.okb-calendar__day.is-disabled {
  background: #f0eee9;
}

.okb-submit {
  justify-self: start;
  min-width: 220px;
  border: 0;
  border-radius: 4px;
  padding: 14px 26px;
  background: #263d32;
  color: #fff;
  cursor: pointer;
}

.okb-submit:hover {
  background: #1d3128;
}

.okb-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid transparent;
}

.okb-notice--success {
  border-color: #9eb7a3;
  background: #edf6ef;
  color: #234330;
}

.okb-notice--error {
  border-color: #d9a6a1;
  background: #fff0ee;
  color: #7a2d28;
}

@media (max-width: 860px) {
  .okb-booking__grid,
  .okb-booking__grid--guest,
  .okb-calendar {
    grid-template-columns: 1fr;
  }

  .okb-selected {
    display: grid;
  }
}

@media (max-width: 520px) {
  .okb-calendar__month {
    padding: 10px;
  }

  .okb-calendar__weekdays,
  .okb-calendar__days {
    gap: 3px;
  }

  .okb-calendar__blank,
  .okb-calendar__day {
    min-height: 58px;
  }
}
