/* AMNIMAKEN Woods Availability */
.amni-wa { margin: 0 0 var(--wp--preset--spacing--40, 24px); font-family: "Inter", var(--wp--preset--font-family--inter, inherit); color: #303840; }
.amni-wa * { box-sizing: border-box; }
.amni-wa__card { background: #fff; border: 1px solid rgba(0,0,0,0.12); border-radius: 4px; padding: 20px 20px 16px; }
@media (max-width: 480px) { .amni-wa__card { padding: 14px 10px 12px; } }

.amni-wa__single,
.amni-wa__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.amni-wa__single { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0,0,0,0.65); }
.amni-wa__tab { font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; border: 1px solid rgba(0,0,0,0.25); border-radius: 2px; background: transparent; color: #303840; cursor: pointer; }
.amni-wa__tab.is-active { background: #303840; border-color: #303840; color: #fff; }

.amni-wa__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.amni-wa__arrow { font: inherit; font-size: 1.1rem; line-height: 1; width: 36px; height: 36px; border: 1px solid rgba(0,0,0,0.2); border-radius: 50%; background: #fff; color: #303840; cursor: pointer; flex: 0 0 auto; }
.amni-wa__arrow:hover:not(:disabled) { background: #303840; color: #fff; border-color: #303840; }
.amni-wa__arrow:disabled { opacity: 0.3; cursor: default; }
.amni-wa__hint { font-size: 0.9rem; color: rgba(0,0,0,0.6); text-align: center; min-height: 1.4em; }
.amni-wa__min { color: #EC5A30; font-weight: 600; }

.amni-wa__months { display: grid; grid-template-columns: 1fr; gap: 24px; }
.amni-wa__months.is-two { grid-template-columns: 1fr 1fr; gap: 32px; }
.amni-wa__month-title { text-align: center; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; margin: 4px 0 10px; }
.amni-wa__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.amni-wa__dow { text-align: center; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(0,0,0,0.45); padding: 4px 0 6px; }

.amni-wa__day { font: inherit; font-size: 0.92rem; font-variant-numeric: tabular-nums; aspect-ratio: 1 / 1; min-height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 3px; background: transparent; color: #303840; cursor: pointer; position: relative; padding: 0; transition: background 0.12s; }
.amni-wa__day.is-empty { cursor: default; }
.amni-wa__day.is-free { background: #eef4f0; }
.amni-wa__day.is-free:hover:not(:disabled) { background: #d1e0d6; }
.amni-wa__day.is-busy { background: #f3f3f3; color: rgba(0,0,0,0.35); text-decoration: line-through; cursor: not-allowed; }
.amni-wa__day.is-past { color: rgba(0,0,0,0.25); cursor: default; }
.amni-wa__day.is-busy.is-out-ok { background: linear-gradient(135deg, #eef4f0 50%, #f3f3f3 50%); color: #303840; text-decoration: none; cursor: pointer; }
.amni-wa__day.is-busy.is-out-ok:hover { background: #d1e0d6; }
.amni-wa__day.is-free.is-disabled { background: #f6f8f7; color: rgba(0,0,0,0.3); cursor: not-allowed; }
.amni-wa__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #EC5A30; }
.amni-wa__day.is-hover,
.amni-wa__day.is-range { background: #d1e0d6 !important; color: #303840; }
.amni-wa__day.is-start,
.amni-wa__day.is-end { background: #303840 !important; color: #fff !important; text-decoration: none; }
.amni-wa__day.is-start.is-today::after,
.amni-wa__day.is-end.is-today::after { background: #fff; }
.amni-wa__day:focus-visible { outline: 2px solid #303840; outline-offset: 1px; }

.amni-wa__legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: 0.82rem; color: rgba(0,0,0,0.6); }
.amni-wa__legend-item { display: inline-flex; align-items: center; gap: 8px; }
.amni-wa__swatch { display: inline-block; width: 16px; height: 16px; border-radius: 3px; }
.amni-wa__swatch--free { background: #eef4f0; border: 1px solid #d1e0d6; }
.amni-wa__swatch--busy { background: #f3f3f3; position: relative; }
.amni-wa__swatch--busy::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1px; background: rgba(0,0,0,0.35); }

.amni-wa__panel { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.1); }
.amni-wa__panel.is-open, .amni-wa__panel:has(.amni-wa__error) { display: block; }
.amni-wa__error { margin: 0 0 10px; font-size: 0.9rem; color: #b3261e; }
.amni-wa__summary { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; margin-bottom: 14px; }
.amni-wa__date { display: flex; flex-direction: column; gap: 2px; }
.amni-wa__date small { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0,0,0,0.5); }
.amni-wa__date b { font-size: 1.05rem; font-weight: 600; }
.amni-wa__nights { font-size: 0.95rem; color: rgba(0,0,0,0.65); padding-bottom: 2px; }

.amni-wa__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amni-wa__btn { font-family: "Montserrat", var(--wp--preset--font-family--montserrat, inherit); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 9px 20px; border: 1px solid #000; border-radius: 2px; background: transparent; color: #000; cursor: pointer; line-height: 1.4; }
.amni-wa__btn:hover { background: #000; color: #fff; }
.amni-wa__btn--primary { background: #303840; border-color: #303840; color: #fff; }
.amni-wa__btn--primary:hover { background: #000; border-color: #000; }
.amni-wa__btn.amni-wa__btn--airbnb { background: #EC5A30; border-color: #EC5A30; color: #fff; padding: 11px 24px; box-shadow: 0 2px 8px rgba(236,90,48,0.25); }
.amni-wa__btn.amni-wa__btn--airbnb:hover { background: #d44d26; border-color: #d44d26; color: #fff; }
.amni-wa__btn--text { border-color: transparent; color: rgba(0,0,0,0.55); padding-left: 8px; padding-right: 8px; }
.amni-wa__btn--text:hover { background: transparent; color: #000; }

.amni-wa__note { margin: 14px 0 0; font-size: 0.82rem; line-height: 1.6; color: rgba(0,0,0,0.5); }

/* Booking form: hidden until dates are chosen (only when JS is running) */
html.amni-wa-js .amni-wa-form { display: none; }
html.amni-wa-js .amni-wa-form.is-open { display: block; animation: amni-wa-fade 0.35s ease; }
@keyframes amni-wa-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.amni-wa__ask { margin: 10px 0 0; font-size: 0.85rem; }
.amni-wa__ask a { color: rgba(0,0,0,0.6); text-decoration: underline; text-underline-offset: 3px; }
.amni-wa__ask a:hover { color: #000; }
