/* The native fields remain the form's data source; without JavaScript they work normally. */
.date-picker-source{display:none!important}
.date-field{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:44px;margin:0;padding:7px 0;border:0;background:transparent;color:#173f34;text-align:left;font:500 16px/1.5 var(--sans);letter-spacing:0;cursor:pointer}
.date-field>span{min-width:0;overflow-wrap:normal}
.date-field>svg{flex:none;width:21px;height:21px;color:#496b58}
.date-field-empty>span{color:#64725f;font-weight:400}
.date-field:hover>span{color:#995a3e}
.date-field[aria-expanded="true"]{color:#995a3e}
.page-contatti .contact-form .date-field{min-height:54px;padding:13px 12px;margin-bottom:20px;background:#fffefb;border:1px solid #cdd8c9;border-radius:7px;font-size:16px}
.page-contatti .contact-form .date-field:hover,.page-contatti .contact-form .date-field[aria-expanded="true"]{border-color:#6a8657;box-shadow:0 0 0 3px #d4e2c950}
body.calendar-open{overflow:hidden}
.calendar-open .page-tools{visibility:hidden}
.stay-calendar{position:fixed;inset:0;width:min(430px,calc(100% - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:auto;padding:0;border:1px solid #e1e5d7;border-radius:22px;background:#fffdf7;color:#173f34;box-shadow:0 24px 80px #092b2840;overflow:hidden;font-family:var(--sans);line-height:1.5}
.stay-calendar[open]{display:flex;flex-direction:column}
.stay-calendar::backdrop{background:#0e302d70;backdrop-filter:blur(3px)}
.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:22px 24px 17px;background:#fffdf7}
.calendar-header>div{min-width:0}
.calendar-eyebrow{display:block;margin-bottom:7px;color:#966044;font-size:10px;font-weight:650;letter-spacing:.12em;line-height:1.5}
.calendar-header h2{font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.035em;text-wrap:balance}
.calendar-close,.calendar-nav{display:grid;place-items:center;flex:none;width:38px;min-height:38px;padding:0;border:1px solid #dbe2d3;border-radius:50%;background:transparent;color:#315442}
.calendar-close>svg,.calendar-nav>svg{width:20px;height:20px}
.calendar-close:hover,.calendar-nav:not(:disabled):hover{background:#eaf0e3;border-color:#b5c6ad}
.calendar-body{flex:1;min-height:0;padding:0 24px 16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c6ad transparent}
.calendar-choice-panel{display:contents}
.calendar-month-view{min-width:0}
.calendar-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.calendar-stay-date{min-width:0;padding:11px 13px;text-align:left;background:#f0f2e9;border:1px solid #e0e5d5;border-radius:11px;color:#385643;font-family:inherit}
.calendar-stay-date>span{display:block;font-size:11px;line-height:1.4;margin-bottom:5px;font-weight:500}
.calendar-stay-date>strong{display:block;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:-.015em}
.calendar-stay-date[aria-pressed="true"]{background:#173f34;color:#fffdf3;border-color:#173f34;box-shadow:inset 0 -3px #deb88e}
.calendar-stay-date:disabled{cursor:default;color:#75816f;background:#f4f4ed}
.calendar-instruction{font-size:12px;line-height:1.6;color:#60705e;margin:13px 0 16px;min-height:1.6em}
.calendar-month-bar{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:9px;margin-bottom:12px}
.calendar-month-selects{display:flex;justify-content:center;gap:3px;min-width:0}
.calendar-month-selects select{max-width:100%;min-width:0;min-height:38px;padding:5px 4px;border:0;border-radius:6px;background:transparent;color:#173f34;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;text-transform:capitalize}
.calendar-month-select{flex:0 1 auto}.calendar-year-select{flex:0 0 74px}
.calendar-nav:disabled{opacity:.3;cursor:default}
.calendar-grid{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 4px;font-family:inherit;font-size:14px;line-height:1.3}
.calendar-grid th{padding:0 0 8px;text-align:center;font-size:11px;color:#778270;font-weight:500}
.calendar-grid abbr{text-decoration:none;cursor:default}
.calendar-grid td{position:relative;padding:0;text-align:center;vertical-align:middle;height:40px}
.calendar-grid td.calendar-in-range{background:#e8efdf}
.calendar-grid td.calendar-range-start{border-radius:50% 0 0 50%}
.calendar-grid td.calendar-range-end{border-radius:0 50% 50% 0}
.calendar-day{position:relative;display:grid;place-items:center;width:40px;max-width:100%;height:40px;min-height:0;margin:auto;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#284b3c;font-family:inherit;font-size:14px;line-height:1;font-weight:500;transition:background .15s,color .15s}
.calendar-day:not(:disabled):hover{background:#dce7d1;color:#163e31}
.calendar-day.calendar-other-month{color:#87917f}
.calendar-day:disabled{color:#b5b9ad;cursor:default}
.calendar-day.calendar-selected,.calendar-day.calendar-selected:disabled{background:#173f34;color:#fffdf3;font-weight:650;opacity:1}
.calendar-day.calendar-selected:not(:disabled):hover{background:#285b43;color:white}
.calendar-day.calendar-today:not(.calendar-selected)::after{content:'';position:absolute;bottom:4px;left:calc(50% - 2px);width:4px;height:4px;background:#a76642;border-radius:50%}
.stay-calendar button:focus-visible,.stay-calendar select:focus-visible{outline:2px solid #a76642;outline-offset:2px}
.calendar-footer{flex:none;padding:14px 24px 20px;border-top:1px solid #e2e7d8;background:#f5f4eb}
.calendar-footer-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;margin-bottom:10px}
.calendar-stay-length{font-size:12px;font-weight:600;color:#4b634e}
.calendar-clear{min-height:30px;padding:3px 0;border:0;background:transparent;color:#87543b;font-family:inherit;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.calendar-clear:disabled{opacity:.4;cursor:default}
.calendar-confirm{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px 17px;border:1px solid #173f34;border-radius:10px;background:#173f34;color:#fffdf3;font-family:inherit;font-weight:600;font-size:14px;line-height:1.5}
.calendar-confirm>svg{flex:none;width:21px;height:21px}
.calendar-confirm:not(:disabled):hover{background:#285540;border-color:#285540}
.calendar-confirm:disabled{background:#e0e6d8;border-color:#e0e6d8;color:#84917c;cursor:default}
.calendar-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:370px){
 .stay-calendar{width:calc(100% - 16px);border-radius:17px}
 .calendar-header{padding:17px 15px 14px;gap:10px}.calendar-header h2{font-size:20px}.calendar-eyebrow{font-size:9px}
 .calendar-body{padding-inline:14px}.calendar-selection{gap:7px}.calendar-stay-date{padding:10px}.calendar-stay-date>strong{font-size:12px}
 .calendar-month-bar{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}.calendar-nav{width:32px;min-height:34px}
 .calendar-month-selects select{font-size:13px;padding-inline:1px}.calendar-year-select{flex-basis:65px}
 .calendar-grid td{height:34px}.calendar-day{width:34px;height:34px;font-size:13px}
 .calendar-footer{padding:11px 15px 15px}.calendar-footer-meta{gap:4px 8px}.calendar-stay-length,.calendar-clear{font-size:11px}
}
@media(max-height:600px){
 .calendar-header{padding-block:12px}.calendar-header h2{font-size:20px}.calendar-eyebrow{display:none}
 .calendar-footer{padding-block:9px}.calendar-footer-meta{margin-bottom:4px}.calendar-confirm{min-height:42px;padding-block:9px}
 .calendar-body{padding-bottom:10px}.calendar-instruction{margin-block:9px}
}
/* In landscape the choices and confirmation sit beside the month, leaving
   the calendar usable even when there is very little vertical space. */
@media(min-width:500px) and (max-height:600px){
 .stay-calendar{width:min(740px,calc(100% - 24px))}
 .stay-calendar[open]{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}
 .calendar-header{grid-column:1;grid-row:1;padding:12px;gap:8px}.calendar-header h2{font-size:18px}.calendar-close{width:30px;min-height:30px}
 .calendar-body{display:contents}
 .calendar-choice-panel{display:block;grid-column:1;grid-row:2;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c6ad transparent}
 .calendar-selection{margin:0 12px;gap:6px}
 .calendar-stay-date{padding:8px}.calendar-stay-date>strong{font-size:12px}.calendar-stay-date>span{font-size:10px}
 .calendar-instruction{margin:8px 12px;font-size:11px;min-height:0}
 .calendar-month-view{grid-column:2;grid-row:1/4;min-height:0;padding:12px;overflow-y:auto;overscroll-behavior:contain;border-left:1px solid #e2e7d8;scrollbar-width:thin;scrollbar-color:#b5c6ad transparent}
 .calendar-month-bar{grid-template-columns:32px minmax(0,1fr) 32px;gap:3px;margin-bottom:5px}.calendar-nav{width:32px;min-height:32px}
 .calendar-month-selects select{min-height:32px;font-size:13px;padding-inline:1px}.calendar-year-select{flex-basis:64px}
 .calendar-grid{border-spacing:0 2px}.calendar-grid th{padding-bottom:4px;font-size:10px}.calendar-grid td{height:32px}.calendar-day{height:32px;width:32px;font-size:13px}
 .calendar-footer{grid-column:1;grid-row:3;padding:8px 12px 12px}
 .calendar-footer-meta{flex-wrap:nowrap;gap:3px}.calendar-stay-length,.calendar-clear{font-size:10px}.calendar-clear{min-height:24px}
 .calendar-confirm{padding:9px 11px;gap:8px;font-size:12px;min-height:40px}.calendar-confirm>svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.calendar-day{transition:none}}
