.natura-reserve-page,
.natura-reserve-thanks {
  padding: 80px 0;
  background: #f8f6f2;
}

.natura-reserve-head,
.natura-reserve-thanks__card {
  text-align: center;
  margin-bottom: 40px;
}

.natura-reserve-head__sub,
.natura-reserve-thanks__sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #8d7f73;
  margin-bottom: 10px;
}

.natura-reserve-head__title,
.natura-reserve-thanks__title {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #3f352d;
}

.natura-reserve-head__lead,
.natura-reserve-thanks__text {
  font-size: 15px;
  line-height: 1.9;
  color: #6b6158;
}

.natura-reserve-card,
.natura-reserve-thanks__card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 32px rgba(63, 53, 45, 0.08);
}

.natura-reserve-errors {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  background: #fff3f3;
  border: 1px solid #f0caca;
  border-radius: 14px;
  color: #a33;
}

.natura-reserve-errors ul {
  margin: 0;
  padding-left: 18px;
}

.natura-reserve-form {
  display: grid;
  gap: 20px;
}

.natura-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.natura-form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #4a4038;
}

.natura-form-group input,
.natura-form-group select,
.natura-form-group textarea {
  width: 100%;
  border: 1px solid #ddd3ca;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  background: #fff;
  color: #3f352d;
  box-sizing: border-box;
  appearance: none;
}

.natura-form-group input:focus,
.natura-form-group select:focus,
.natura-form-group textarea:focus {
  outline: none;
  border-color: #8d7f73;
  box-shadow: 0 0 0 3px rgba(141, 127, 115, 0.12);
}

.natura-form-group textarea {
  resize: vertical;
}

.natura-slot-message {
  margin-bottom: 12px;
  font-size: 14px;
  color: #6b6158;
}

.natura-slot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.natura-slot-button {
  border: 1px solid #ddd3ca;
  background: #fff;
  color: #3f352d;
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  min-height: 52px;
}

.natura-slot-button:hover {
  opacity: 0.85;
}

.natura-slot-button.is-selected {
  background: #8d7f73;
  color: #fff;
  border-color: #8d7f73;
}

.natura-slot-button.is-unavailable {
  background: #f2efeb;
  color: #b0a69d;
  cursor: not-allowed;
  opacity: 1;
}

.natura-form-actions {
  margin-top: 8px;
  text-align: center;
}

.natura-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #8d7f73;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.natura-btn-primary:hover {
  opacity: 0.85;
}

.natura-reserve-thanks__actions {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .natura-reserve-page,
  .natura-reserve-thanks {
    padding: 26px 0;
  }

  .natura-reserve-card,
  .natura-reserve-thanks__card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .natura-reserve-head__title,
  .natura-reserve-thanks__title {
    font-size: 26px;
  }

  .natura-slot-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .natura-slot-button {
    font-size: 14px;
    padding: 12px 10px;
    min-height: 48px;
  }

  .natura-btn-primary {
    width: 80%;
    min-width: 0;
  }
}

.natura-reserve-calendar-card {
  max-width: 1100px;
  margin: 0 auto 32px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(63, 53, 45, 0.08);
}

.natura-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.natura-calendar-nav__title {
  font-size: 28px;
  font-weight: 700;
  color: #3f352d;
}

.natura-calendar-nav__btn {
  border: 1px solid #ddd3ca;
  background: #fff;
  color: #6b6158;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.natura-calendar-wrap {
  overflow-x: auto;
}

.natura-calendar-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.natura-calendar-table th,
.natura-calendar-table td {
  border: 1px solid #ddd3ca;
  text-align: center;
  padding: 0;
}

.natura-calendar-table .time-head,
.natura-calendar-table .time-cell {
  width: 90px;
  background: #f8f6f2;
  font-weight: 700;
  color: #4a4038;
}

.date-head {
  background: #f8f6f2;
  padding: 12px 6px !important;
}

.date-head.is-sat .date-num,
.date-head.is-sat .date-weekday {
  color: #3d68c2;
}

.date-head.is-sun .date-num,
.date-head.is-sun .date-weekday {
  color: #c25555;
}

.date-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.date-weekday {
  display: block;
  font-size: 13px;
}

.calendar-cell {
  width: 90px;
  height: 54px;
  background: #fff;
}

.calendar-cell.status-outside,
.calendar-cell.status-reserved {
  background: #f3f1ee;
}

.calendar-cell.status-closed {
  background: #ece7e2;
}

.calendar-slot-button {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: #d86c82;
  font-size: 32px;
  font-weight: 700;
  cursor: pointer;
}

.calendar-slot-button.is-selected {
  background: #8d7f73;
  color: #fff;
}

.calendar-mark {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 22px;
  font-weight: 700;
}

.calendar-mark--closed {
  color: #6b6158;
}

.natura-calendar-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 14px;
  color: #6b6158;
}

.natura-calendar-legend em {
  font-style: normal;
  font-weight: 700;
  color: #d86c82;
}

.natura-selected-slot {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f6f2;
  color: #4a4038;
  font-weight: 700;
}

@media (max-width: 767px) {
  .natura-reserve-calendar-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .natura-calendar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .natura-calendar-nav__title {
    text-align: center;
    font-size: 22px;
  }
}

.status-closed-day {
  background: #ece7e2;
  position: relative;
  min-width: 72px;
  width: 72px;
}

.calendar-closed-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6b6158;
  margin: 0 auto;
}

.status-closed-day {
  background: #e7e0da;
  min-width: 64px;
  width: 64px;
}

.calendar-closed-vertical {
  font-size: 18px;
}

.natura-modal-open {
  overflow: hidden;
}

.natura-reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.natura-reserve-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.natura-reserve-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 32, 26, 0.45);
}

.natura-reserve-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.natura-reserve-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #f2ede8;
  color: #4a4038;
  font-size: 24px;
  cursor: pointer;
}

.natura-reserve-modal__head {
  text-align: center;
  margin-bottom: 24px;
}

.natura-reserve-modal__sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #8d7f73;
  margin-bottom: 8px;
}

.natura-reserve-modal__title {
  font-size: 28px;
  line-height: 1.4;
  color: #3f352d;
  margin: 0;
}

.natura-selected-slot--modal {
  margin-bottom: 8px;
}

.natura-reserve-card--desktop-note {
  max-width: 1100px;
  margin: 24px auto 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 767px) {
  .natura-reserve-modal__dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 22px 16px 18px;
    border-radius: 18px;
    max-height: calc(100vh - 20px);
  }

  .natura-reserve-modal__title {
    font-size: 24px;
  }
}

.natura-menu-summary {
  margin-top: 14px;
  padding: 18px 18px 16px;
  border: 1px solid #e4ddd6;
  border-radius: 16px;
  background: #f8f6f2;
}

.natura-menu-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.natura-menu-summary__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #3f352d;
  line-height: 1.6;
}

.natura-menu-summary__price {
  margin: 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  color: #8d7f73;
}

.natura-menu-summary__note {
  margin: 0 0 6px;
  font-size: 14px;
  color: #6b6158;
  line-height: 1.7;
}

.natura-menu-summary__desc {
  margin: 0;
  font-size: 14px;
  color: #6b6158;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .natura-menu-summary__head {
    flex-direction: column;
    gap: 6px;
  }

  .natura-menu-summary__title {
    font-size: 16px;
  }

  .natura-menu-summary__price {
    font-size: 16px;
  }
}

.natura-menu-summary__meta {
  margin: 0 0 8px;
}

.natura-menu-summary__duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efe8e1;
  color: #6b6158;
  font-size: 13px;
  font-weight: 700;
}

.date-meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.3;
}

.date-meta--closed {
  color: #b42318;
  font-weight: 700;
}

.date-meta--limit {
  color: #666;
}

.date-head.is-closed {
  background: #fff7f7;
}

.status-closed-day {
  background: #faf1f1;
}

.calendar-closed-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 2px;
  font-weight: 700;
  color: #b42318;
}

/* ?????????? */
.date-head.is-holiday .date-num,
.date-head.is-holiday .date-weekday {
  color: #d63638;
  font-weight: 700;
}

.date-head.is-holiday .date-num,
.date-head.is-holiday .date-weekday {
  color: #d63638;
  font-weight: 700;
}

.date-head.is-holiday {
  background: #fff5f5;
}

.natura-calendar-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.natura-calendar-nav__title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #3f352d;
  line-height: 1.2;
}

.natura-calendar-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #ddd3ca;
  background: #fff;
  color: #6b6158;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  white-space: nowrap;
}

.natura-calendar-nav__btn:hover {
  background: #f8f6f2;
}

.natura-calendar-nav__btn:active {
  transform: translateY(1px);
}

#natura-prev-week {
  justify-self: start;
}

#natura-next-week {
  justify-self: end;
}

@media (max-width: 767px) {
  .natura-calendar-nav {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .natura-calendar-nav__title {
    grid-column: 1 / -1;
    order: -1;
    font-size: 22px;
    margin-bottom: 2px;
  }

  .natura-calendar-nav__btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  #natura-prev-week,
  #natura-next-week {
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  .natura-reserve-calendar-card {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .natura-calendar-nav {
    gap: 8px;
    margin-bottom: 14px;
  }

  .natura-calendar-nav__title {
    font-size: 18px;
  }

  .natura-calendar-nav__btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .date-head {
    padding: 8px 4px !important;
  }

  .date-num {
    font-size: 16px;
  }

  .date-weekday {
    font-size: 11px;
  }

  .natura-calendar-table .time-head,
  .natura-calendar-table .time-cell {
    width: 72px;
    font-size: 13px;
  }

  .calendar-cell {
    width: 72px;
    height: 44px;
  }

  .calendar-slot-button {
    font-size: 24px;
  }

  .calendar-mark {
    font-size: 18px;
  }

  .calendar-closed-vertical {
    font-size: 15px;
  }

  .natura-calendar-legend {
    gap: 14px;
    margin-top: 12px;
    font-size: 12px;
    flex-wrap: wrap;
  }
}

.natura-calendar-wrap {
  overflow: auto;
  max-height: 72vh;
  position: relative;
}

.natura-calendar-table {
  border-collapse: separate;
  border-spacing: 0;
}

.natura-calendar-head .date-head,
#natura-calendar-head .date-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f8f6f2;
}

.natura-calendar-table .time-head,
.natura-calendar-table .time-cell {
  position: sticky;
  left: 0;
  z-index: 20;
  background: #f8f6f2;
}

.natura-calendar-table .time-head {
  z-index: 40;
}

.status-closed-day {
  position: sticky;
  left: 0;
  z-index: 15;
}

#natura-calendar-head .time-head {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  background: #f8f6f2;
}

@media (max-width: 767px) {
  #natura-calendar-head .date-head {
    box-shadow: 0 2px 0 rgba(221, 211, 202, 0.9);
  }

  .natura-calendar-table .time-head,
  .natura-calendar-table .time-cell {
    box-shadow: 2px 0 0 rgba(221, 211, 202, 0.9);
  }
}

/* =========================
   ?????????????????
   iPhone Safari???
========================= */

.natura-calendar-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  max-height: 72vh;
}

/* Safari??:
   collapse ?? sticky ???????????? separate ??? */
.natura-calendar-table {
  border-collapse: separate !important;
  border-spacing: 0;
  min-width: 1050px;
  width: max-content;
  background: #fff;
}

/* ???????????????????? */
.natura-calendar-table th,
.natura-calendar-table td {
  border-right: 1px solid #ddd3ca;
  border-bottom: 1px solid #ddd3ca;
  border-top: none;
  border-left: none;
  background-clip: padding-box;
}

/* ?????? */
.natura-calendar-table tr:first-child th,
.natura-calendar-table tr:first-child td {
  border-top: 1px solid #ddd3ca;
}

.natura-calendar-table th:first-child,
.natura-calendar-table td:first-child {
  border-left: 1px solid #ddd3ca;
}

/* ?????????? */
#natura-calendar-head th {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f8f6f2;
}

/* ??????????? */
#natura-calendar-head .time-head {
  left: 0;
  z-index: 50;
  background: #f8f6f2;
}

/* ??????? */
.natura-calendar-table .time-cell {
  position: sticky;
  left: 0;
  z-index: 25;
  background: #f8f6f2;
}

/* ????????? */
.natura-calendar-table .time-head,
.natura-calendar-table .time-cell {
  min-width: 90px;
  width: 90px;
  white-space: nowrap;
}

/* ???????????????? */
.status-closed-day {
  position: sticky;
  left: 0;
  z-index: 15;
  background: #e7e0da;
}

/* ???????????? */
#natura-calendar-head th {
  box-shadow: 0 1px 0 rgba(221, 211, 202, 0.95);
}

/* ???????????? */
#natura-calendar-head .time-head,
.natura-calendar-table .time-cell,
.status-closed-day {
  box-shadow: 1px 0 0 rgba(221, 211, 202, 0.95);
}

/* ?????????????????? */
.calendar-cell {
  background: #fff;
}

.calendar-cell.status-outside,
.calendar-cell.status-reserved {
  background: #f3f1ee;
}

.calendar-cell.status-closed {
  background: #ece7e2;
}

.date-head {
  background: #f8f6f2;
}

/* ??????????? */
@media (max-width: 767px) {
  .natura-calendar-wrap {
    max-height: 68vh;
  }

  .natura-calendar-table {
    min-width: 760px;
  }

  #natura-calendar-head .time-head,
  .natura-calendar-table .time-cell {
    min-width: 72px;
    width: 72px;
  }

  .status-closed-day {
    min-width: 72px;
    width: 72px;
  }

  #natura-calendar-head th {
    box-shadow: 0 2px 0 rgba(221, 211, 202, 0.95);
  }

  #natura-calendar-head .time-head,
  .natura-calendar-table .time-cell,
  .status-closed-day {
    box-shadow: 2px 0 0 rgba(221, 211, 202, 0.95);
  }
}

.natura-reserve-calendar-card,
.natura-reserve-page,
.container {
  transform: none !important;
  overflow: visible;
}