/* Local booking-calendar presentation only. */
#stay-calendar{background:#FFF9EE;border:1px solid #E9DFCE;border-radius:14px;padding:24px;text-align:left;color:#30332D;margin:24px auto;max-width:1050px;position:relative;z-index:1}.stay-calendar-legend{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:14px;line-height:1.5;margin-bottom:18px}.stay-calendar-legend span{display:inline-flex;gap:7px;align-items:center}.stay-calendar-legend i{width:13px;height:13px;border:1px solid #bbc7c2;border-radius:4px;display:inline-block}.stay-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.stay-calendar-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}#stay-calendar .stay-control{font:inherit;font-size:14px;min-height:44px;padding:9px 13px;background:#FFF9EE;border:1px solid #cdd7d5;border-radius:7px;color:#3d555a;cursor:pointer}#stay-calendar .stay-control[aria-pressed=true]{background:#FFF1E1;border-color:#F55D00;color:#354B2B}#stay-calendar .stay-control:disabled{opacity:.5;cursor:default}.stay-calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.stay-month{min-width:0}.stay-month h3{text-align:center;font:600 20px inherit;margin:22px 0 16px}.stay-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.stay-weekday{text-align:center;font-size:12px;line-height:2;color:#53646c}#stay-calendar .stay-day{display:grid;place-items:center;min-width:0;width:100%;min-height:44px;aspect-ratio:1.1;border:2px solid transparent;border-radius:7px;font:700 15px inherit;padding:3px;cursor:pointer}#stay-calendar button:focus-visible{outline:3px solid #354B2B;outline-offset:2px}#stay-calendar-status{font-size:14px;line-height:1.6;margin:18px 0 0;min-height:2.5em;color:#354B2B}@media(max-width:760px){#stay-calendar{padding:16px;margin:18px auto}.stay-calendar-months{grid-template-columns:minmax(0,1fr)}.stay-month:nth-child(2){display:none}.stay-days{gap:5px}.stay-calendar-toolbar .stay-control{font-size:13px}.stay-calendar-legend{gap:9px 12px;font-size:13px}#stay-calendar .stay-day{min-height:40px}.stay-month h3{font-size:19px}}@media(prefers-reduced-motion:reduce){#stay-calendar *{transition:none!important;animation:none!important}}

/* Primary date picker; readonly text fields never invoke a native date popup. */
#stay-calendar{scroll-margin-top:110px}#stay-calendar-heading{font:600 24px inherit;margin:0 0 10px}.stay-picker-help{font-size:16px!important;line-height:1.6!important;margin:0 0 18px!important;color:#354B2B}.booking-form input[aria-controls="stay-calendar"]{cursor:pointer;min-width:0}.booking-form input[aria-controls="stay-calendar"]:focus{outline:2px solid #F55D00;outline-offset:2px}

.stay-calendar-legend [hidden]{display:none}
/* Give the legend and the full day tiles the same status colours. */
.stay-calendar-legend i{width:18px;height:18px;flex:none}
#stay-calendar .stay-day,.stay-calendar-legend .unavailable{
 background:#e5e6e8;
 border-color:#c4c8cc;
 color:#414b53;
}
#stay-calendar .stay-day.available,.stay-calendar-legend .available{
 background:#E4F3E5;
 border-color:#B5D9BA;
 color:#183e2b;
}
#stay-calendar .stay-day.occupied,.stay-calendar-legend .occupied{
 background:#f4c3c3;
 border-color:#d29999;
 color:#68282c;
}
#stay-calendar .stay-day:disabled{opacity:1;cursor:not-allowed}
#stay-calendar .stay-day.available:not(:disabled):hover{background:#afd8bc}
#stay-calendar .stay-day.available.in-range{box-shadow:inset 0 -3px #698e73}
#stay-calendar .stay-day.selected{
 border-color:#F55D00;
 box-shadow:inset 0 0 0 1px #F55D00;
}

.stay-boundary-note{font-size:12px!important;line-height:1.5!important;color:#53646c;margin:15px 0 0!important}

/* Keep occupancy colours independent of which dates can be selected. */
#stay-calendar{
 --stay-free:#e4f3e5;
 --stay-occupied:#f4c3c3;
}
#stay-calendar .stay-day.changeover-arrival,.stay-calendar-legend .changeover-arrival{
 background:linear-gradient(125deg,var(--stay-free) 50%,var(--stay-occupied) 50%);
}
#stay-calendar .stay-day.changeover-departure,.stay-calendar-legend .changeover-departure{
 background:linear-gradient(125deg,var(--stay-occupied) 50%,var(--stay-free) 50%);
}
#stay-calendar .stay-day:not(:disabled){
 border-color:#50646b;
}
#stay-calendar .stay-day.selected{
 border-color:#F55D00;
}
#stay-calendar .stay-day:disabled:not(.selected){
 border-color:transparent;
}

/* Portugal Villa · date fields and calendar share the confirmed Olive & Tangerine palette. */
#stay-calendar .stay-month h3,#stay-calendar-heading { font-family: var(--serif, Georgia, serif); }
#stay-calendar .stay-day { font-family: inherit; }
#stay-calendar-status:empty { display:none; }
@media(max-width:360px) {
 #stay-calendar { padding:12px; }
 .stay-days { gap:3px; }
 #stay-calendar .stay-day { min-height:36px; }
}
