/* Calendar widget (calendar.js) and the booking panel on detail pages. Used by the public page and the admin page. */
.cal-nav { display: flex; justify-content: space-between; margin-bottom: 4px; position: relative; z-index: 1; }
.cal-step { width: 44px; height: 44px; border: 1px solid #cfd6cf; background: #fff; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #153828; }
.cal-step:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-top: -48px; }
.cal-title { text-align: center; font-weight: 700; margin: 0 0 8px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-dow { text-align: center; font-size: .875rem; color: #5b625c; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 8px; background: #fff; color: #153828; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid #e3e8e3; padding: 0; }
.cal-day:hover:not(:disabled) { background: #dff0e5; }
.cal-day:disabled { background: transparent; color: #8a8f8a; border-color: transparent; cursor: default; }
.cal-day.blocked, .cal-day.blocked:disabled { background: #f6dcdc; color: #8a1f1f; text-decoration: line-through; border-color: transparent; }
.cal-day.past, .cal-day.past:disabled { color: #b3b7b3; text-decoration: none; background: transparent; }
.cal-day.in-range { background: #dff0e5; border-radius: 0; }
.cal-day.picked, .cal-day.picked.blocked, .cal-day.picked.blocked:disabled { background: #1f4d3a; color: #fff; border-color: #1f4d3a; text-decoration: none; }
.cal-key { display: flex; flex-wrap: wrap; gap: 14px; font-size: .875rem; color: #5b625c; margin: 8px 0 0; }
.cal-key span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #fff; border: 1px solid #cfd6cf; }
.cal-key .k-blocked::before { background: #f6dcdc; border-color: #f6dcdc; }
.cal-key .k-picked::before { background: #1f4d3a; border-color: #1f4d3a; }
@media (min-width: 700px) { .cal-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.d-book { margin-top: 32px; padding-top: 8px; border-top: 1px solid #e3e8e3; max-width: 760px; }
.d-book label { display: block; margin: 12px 0; font-weight: 600; }
.d-book input[type="number"] { display: block; margin-top: 6px; width: 120px; min-height: 44px; font: inherit; padding: 8px 12px; border: 1px solid #b9c2b9; border-radius: 8px; }
.d-book .addon { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.d-book .addon input { width: 24px; height: 24px; flex: none; margin: 0; }
.bk-summary { background: #fff; border: 1px solid #e3e8e3; border-radius: 14px; padding: 12px 16px; margin: 16px 0; }
.bk-summary p { margin: 4px 0; }
.bk-summary .total { font-weight: 700; font-size: 1.15rem; }
.bk-actions { display: grid; gap: 10px; max-width: 420px; }
.bk-actions .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.bk-fine { color: #5b625c; font-size: .95rem; }
.bk-pay { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e3e6e1; }
.bk-pay h4 { margin: 0 0 6px; font: 700 1.05rem/1.3 var(--serif); }
