/* 123 Supply Teaching — booking calendar + contact form */
.s123-booking { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; margin: 8px 0 32px; }
@media (max-width: 860px) { .s123-booking { grid-template-columns: 1fr; } }

.s123-booking__cal, .s123-booking__summary {
	background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 6px 24px rgba(31, 42, 68, .08); border: 1px solid #f0e6d6;
}
.s123-booking__summary { position: sticky; top: 20px; }
.s123-booking__summary h3 { margin-top: 0; }

.s123-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.s123-cal__title { margin: 0; font-size: 1.3rem; }
.s123-cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #eaf2fb; color: #1f4f86; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.s123-cal__nav:disabled { opacity: .35; cursor: default; }
.s123-cal__nav:not(:disabled):hover { background: #d4e5f7; }

.s123-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) 58px; gap: 6px; margin-bottom: 6px; }
.s123-cal__row--head span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; text-align: center; }
.s123-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; font-family: inherit; min-height: 40px; }
.s123-day--out { background: transparent; }
.s123-day--off { background: #f3f4f6; color: #b6bcc6; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.15); }
.s123-day--free { background: #e8f6ee; color: #1d6b43; cursor: pointer; border-color: #bfe5cf; }
.s123-day--free:hover { border-color: #4caf7d; }
.s123-day--sel { background: #2b6cb0; color: #fff; border-color: #2b6cb0; box-shadow: 0 3px 10px rgba(43,108,176,.35); }
.s123-day:focus-visible, .s123-week:focus-visible, .s123-cal__nav:focus-visible, .s123-btn:focus-visible { outline: 3px solid #f2b134; outline-offset: 2px; }
.s123-week { align-self: center; border: 0; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-weight: 700; font-size: .78rem; padding: 6px 4px; cursor: pointer; font-family: inherit; }
.s123-week:hover { background: #ffe6a8; }

.s123-cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 14px 0 4px; font-size: .9rem; }
.s123-cal__legend li { display: flex; align-items: center; gap: 6px; }
.s123-key { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.s123-key--free { background: #e8f6ee; border: 2px solid #bfe5cf; }
.s123-key--sel { background: #2b6cb0; }
.s123-key--off { background: #f3f4f6; }
.s123-hint, .s123-small { font-size: .88rem; color: #5b6475; margin: 6px 0 0; }
.s123-loading { padding: 40px 0; text-align: center; color: #5b6475; }

.s123-days { list-style: none; padding: 0; margin: 0 0 12px; max-height: 260px; overflow: auto; }
.s123-days li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed #eadfcd; }
.s123-x { border: 0; background: #fde8e3; color: #b0402a; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.s123-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 0 0 10px; }
.s123-totals dt, .s123-totals dd { margin: 0; }
.s123-totals dd { text-align: right; font-weight: 700; padding-left: 12px; }
.s123-totals .s123-total { font-size: 1.2rem; padding-top: 8px; border-top: 2px solid #1f2a44; }
.s123-saving { background: #fff3d6; border-radius: 10px; padding: 8px 12px; font-size: .9rem; color: #7a5000; }
.s123-btn { display: inline-block; width: 100%; border: 0; border-radius: 999px; padding: 14px 22px; background: #e8735a; color: #fff; font-weight: 800; font-size: 1.05rem; cursor: pointer; font-family: inherit; box-shadow: 0 4px 0 #c45640; transition: transform .08s; }
.s123-btn:hover { background: #df6448; }
.s123-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #c45640; }
.s123-btn:disabled { background: #cfd4dc; box-shadow: none; cursor: not-allowed; }

.s123-notice { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; grid-column: 1 / -1; }
.s123-notice--error { background: #fde8e3; color: #8c2c18; }
.s123-notice--ok { background: #e8f6ee; color: #1d6b43; }

.s123-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0 24px; }
.s123-rate { background: #fff; border-radius: 20px; padding: 22px; text-align: center; border: 2px solid #f0e6d6; display: flex; flex-direction: column; gap: 4px; }
.s123-rate--block { border-color: #f2b134; background: #fffaf0; }
.s123-rate__label { font-weight: 700; color: #5b6475; }
.s123-rate__price { font-size: 2.2rem; font-weight: 800; color: #1f2a44; }
.s123-rate__per { font-size: .9rem; color: #5b6475; }

.s123-contact { max-width: 620px; }
.s123-contact input, .s123-contact textarea { width: 100%; padding: 12px 14px; border: 2px solid #e5dccd; border-radius: 12px; font: inherit; background: #fff; }
.s123-contact input:focus, .s123-contact textarea:focus { border-color: #2b6cb0; outline: none; }
.s123-contact .s123-btn { width: auto; }
.s123-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.s123-booking [hidden] { display: none !important; }
