.msbw {
  --green: #2d4d40;
  --gold: #c9a23c;
  --cream: #f7f6ef;
  --lime: #e4ebbd;
  max-width: 1050px;
  margin: auto;
  padding: 55px 20px;
  color: #272b29;
  font: 15px Arial, sans-serif;
}

.msbw * { box-sizing: border-box; }
.msbw [hidden] { display: none !important; }

.msbw__header {
  margin-bottom: 50px;
  text-align: center;
}

.msbw__header h1 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 48px;
  line-height: 1;
}

.msbw__header h1 span { color: var(--gold); }

.msbw__header p {
  color: var(--green);
  font-size: 17px;
  line-height: 1.45;
}

.msbw-grid {
  display: grid;
  grid-template-columns: 297px 372px 305px;
  gap: 22px;
  align-items: start;
}

.msbw article,
.msbw-calendar {
  border-radius: 12px;
  box-shadow: 9px 14px 18px rgb(45 77 64 / 5%);
}

.msbw article {
  padding: 25px 24px;
  background: var(--cream);
}

.msbw aside article + article { margin-top: 14px; }

.msbw h2 {
  margin: 5px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dad7c8;
  color: var(--green);
  font-size: 19px;
}

.msbw dl { margin: 0; }
.msbw dl div { display: flex; justify-content: space-between; margin: 11px 0; }
.msbw dd { margin: 0; }

.msbw ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 2;
}

.msbw li::before {
  content: "✓";
  margin-right: 11px;
  color: var(--gold);
  font-weight: bold;
}

.msbw-calendar {
  min-height: 381px;
  padding: 27px 30px;
  border: 1px solid #c9c9c9;
  background: #fff;
}

.msbw-calendar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msbw-calendar nav h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #6c716e;
}

.msbw button { border: 0; cursor: pointer; }

.msbw-calendar nav button {
  background: none;
  color: var(--gold);
  font-size: 32px;
}

.week,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.week {
  margin-top: 27px;
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.days {
  margin-top: 22px;
  row-gap: 13px;
}

.msbw .days > i,
.msbw .days > button { min-width: 0; }

.msbw .days button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px !important;
  min-width: 37px !important;
  max-width: 37px !important;
  height: 37px !important;
  margin: auto;
  padding: 0 !important;
  border-radius: 50%;
  background: none;
  color: #6b706d;
  font-size: 20px;
  font-weight: bold;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.days button:disabled { color: #c9cdca; cursor: default; }
.days button:not(:disabled):hover,
.days button.selected { background: var(--green); color: #fff; }

.msbw-status { color: #777; text-align: center; }

.times {
  min-height: 130px;
  padding: 14px 18px !important;
}

.times h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
}

.times > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.times button {
  padding: 7px 3px;
  border-radius: 9px;
  background: #e7e8e8;
  color: #888;
}

.times button.selected { background: var(--green); color: #fff; }
.summary { background: var(--lime) !important; }

.summary > button,
.summary form button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}

.summary button:disabled { opacity: 0.45; cursor: default; }

.summary label {
  display: block;
  margin: 10px 0;
  color: var(--green);
  font-weight: bold;
}

.summary input,
.summary select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px;
  border: 1px solid #bac39a;
  border-radius: 7px;
  background: #fff;
}

.success { color: var(--green); font-weight: bold; }
.error { color: #9b2c2c; }

@media (max-width: 1050px) {
  .msbw-grid { grid-template-columns: 1fr 1.2fr; }
  .booking { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 18px; }
  .booking article { margin: 0 !important; }
}

@media (max-width: 700px) {
  .msbw { padding: 35px 14px; }
  .msbw__header h1 { font-size: 36px; }
  .msbw-grid { display: flex; flex-direction: column; }
  .msbw-grid > * { width: 100%; }
  .msbw-calendar { order: 1; padding: 22px 14px; }
  .booking { display: block; order: 2; }
  .booking article + article { margin-top: 14px !important; }
  .msbw-details { order: 3; }
}
