/* Calendar */
.cm-cal__title, .cm-form h3 { margin: 0 0 1rem; font-size: 1.7rem; }
.cm-cal__months { position: relative; }
.cm-cal__nav { position: absolute; top: -.2rem; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.cm-cal__nav button { pointer-events: auto; background: none; border: 1px solid rgba(43,37,32,.15); border-radius: 50%; width: 2.2rem; height: 2.2rem; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; }
.cm-cal__nav button:disabled { opacity: .3; cursor: default; }
.cm-cal__grid-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.cm-cal__month h4 { text-align: center; margin: .3rem 0 .8rem; font-family: var(--wp--preset--font-family--sans, sans-serif); font-weight: 500; font-size: 1rem; text-transform: capitalize; }
.cm-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cm-cal__wd { text-align: center; font-size: .72rem; text-transform: uppercase; color: var(--wp--preset--color--muted, #777); padding-bottom: .3rem; }
.cm-cal__grid button { aspect-ratio: 1; border: 0; background: #EAF0E4; color: #2B2520; font: inherit; font-size: .88rem; cursor: pointer; border-radius: 4px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.cm-cal__price { font-size: .62rem; opacity: .75; margin-top: 1px; font-variant-numeric: tabular-nums; }
.cm-cal__was { font-size: .55rem; opacity: .55; line-height: 1; margin-top: 1px; }
.cm-cal__price.is-promo { color: #9C4A26; opacity: 1; font-weight: 500; }
.cm-cal__grid .is-start .cm-cal__price, .cm-cal__grid .is-end .cm-cal__price.is-promo, .cm-cal__grid .is-start .cm-cal__price.is-promo { color: #fff; }
.cm-cal__quote th s { opacity: .6; }
.cm-cal__grid .is-start .cm-cal__price, .cm-cal__grid .is-end .cm-cal__price { opacity: .9; }
.cm-cal__grid button:hover:not(:disabled):not(.is-booked) { outline: 2px solid var(--wp--preset--color--accent, #B8603A); }
.cm-cal__grid .is-past { background: transparent; color: #bbb; cursor: default; }
.cm-cal__grid .is-booked { background: #E3D6CC; color: #9A8B80; text-decoration: line-through; cursor: not-allowed; }
.cm-cal__grid .is-booked.is-checkin { background: linear-gradient(135deg, #EAF0E4 50%, #E3D6CC 50%); }
.cm-cal__grid .is-checkout { background: linear-gradient(135deg, #E3D6CC 50%, #EAF0E4 50%); }
.cm-cal__grid .is-range { background: #F3D9C8; }
.cm-cal__grid .is-start, .cm-cal__grid .is-end { background: var(--wp--preset--color--accent, #B8603A) !important; color: #fff; text-decoration: none; }
.cm-cal__legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .82rem; color: var(--wp--preset--color--muted, #777); }
.cm-cal__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.cm-cal__legend .is-free { background: #EAF0E4; } .cm-cal__legend .is-booked { background: #E3D6CC; } .cm-cal__legend .is-sel { background: var(--wp--preset--color--accent, #B8603A); }
.cm-cal__hint { margin: .8rem 0 0; font-size: .92rem; min-height: 1.5em; }
.cm-cal__hint.is-err { color: #A33; }
.cm-cal__per-night { margin-left: auto; }
.cm-cal__quote { margin-top: 1rem; padding: 1rem 1.25rem; background: #F7F2EC; border-radius: 6px; }
.cm-cal__quote h4 { margin: 0 0 .6rem; font-family: var(--wp--preset--font-family--sans, sans-serif); font-weight: 500; font-size: 1rem; }
.cm-cal__quote table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cm-cal__quote th { text-align: left; font-weight: 400; padding: .25rem 0; }
.cm-cal__quote td { text-align: right; padding: .25rem 0 .25rem 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cm-cal__quote .is-discount td { color: #4F7A3A; }
.cm-cal__quote .is-total th, .cm-cal__quote .is-total td { font-weight: 600; border-top: 1px solid rgba(43,37,32,.2); padding-top: .5rem; }
.cm-cal__quote-na { margin: 0; font-size: .92rem; }
@media (max-width: 640px) { .cm-cal__price { font-size: .7rem; } .cm-cal__was { font-size: .6rem; } .cm-cal__per-night { margin-left: 0; } }

/* Form */
.cm-form { display: grid; gap: .9rem; }
.cm-form label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 500; }
.cm-form input, .cm-form select, .cm-form textarea { font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid rgba(43,37,32,.2); border-radius: 4px; background: #fff; color: inherit; width: 100%; box-sizing: border-box; }
.cm-form input:focus, .cm-form select:focus, .cm-form textarea:focus { outline: 2px solid var(--wp--preset--color--accent, #B8603A); outline-offset: 0; border-color: transparent; }
.cm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cm-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .cm-form__row, .cm-form__row--3 { grid-template-columns: 1fr; } }
.cm-form .cm-check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.cm-form .cm-check input { width: auto; margin-top: .3rem; }
.cm-form button { justify-self: start; }
.cm-form__note { font-size: .82rem; color: var(--wp--preset--color--muted, #777); margin: 0; }
.cm-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cm-notice { border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.cm-notice h3 { margin: 0 0 .4rem; }
.cm-notice--ok { background: #EAF0E4; } .cm-notice--err { background: #F6E1DA; }

/* Contact */
.cm-contact { display: flex; flex-wrap: wrap; gap: .75rem; }
.cm-contact a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 500; }
.cm-contact__wa { background: #25D366; color: #fff !important; }
.cm-contact__mail { border: 1px solid currentColor; color: inherit; }
.cm-contact--plain { flex-direction: column; gap: .5rem; }
.cm-contact--plain a { padding: 0; background: none; border: 0; color: inherit !important; font-weight: 400; }
.cm-wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.cm-wa-float svg { width: 28px; height: 28px; }
/* Until availability is known (or if it can't be loaded), don't show days as free. */
.cm-cal.is-loading .cm-cal__grid button:not(.is-past) { background: #EEE9E2; color: #8C8178; }
