.booking-language {
  width: min(520px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.booking-meal {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.booking-meal legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
}

.booking-meal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-meal-choice {
  position: relative;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.booking-meal-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
}

.booking-meal-face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  height: 100%;
  gap: 3px;
  padding: 14px 8px 10px;
  border: 2px solid #b7bdb9;
  border-radius: 6px;
  background: #fff;
  color: #33443b;
}

.booking-meal-check {
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: -4px 0 0 2px;
  border: 1px solid #8e9891;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 14px;
  line-height: 1;
}

.booking-meal-title {
  font-size: 18px;
  line-height: 1.4;
}

.booking-meal-days {
  font-size: 12px;
  font-weight: 600;
}

.booking-meal-times {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.booking-meal-times span {
  white-space: nowrap;
}

.booking-meal-choice input:checked + .booking-meal-face {
  border-color: #335843;
  color: #173b25;
  background: #e9f3ec;
}

.booking-meal-choice input:checked + .booking-meal-face .booking-meal-check {
  border-color: #335843;
  color: #fff;
  background: #335843;
}

.booking-meal-choice input:focus-visible + .booking-meal-face {
  outline: 3px solid #3675ba;
  outline-offset: 3px;
}

#booking-title {
  margin-bottom: 8px;
}

.booking-price {
  margin: 8px 0 14px;
}

.booking-lunch-notice {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #dbb66c;
  border-left: 4px solid #a16a16;
  border-radius: 6px;
  background: #fff4d6;
  color: #714717;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#booking-form [hidden] {
  display: none;
}

#booking-form .rakuan-day {
  padding-left: 0;
  padding-right: 0;
}

.booking-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 18px 0;
  padding: 12px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.booking-total dd {
  margin: 0;
  font-weight: 700;
}

.booking-confirmation .summary dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

#booking-form button[type="submit"] {
  min-height: 48px;
}

@media (max-width: 640px) {
  #booking-title,
  .booking-confirmation h1 {
    font-size: 22px;
  }

  .booking-meal-title {
    font-size: 16px;
  }
}
