/* Quiet forest details for actions. Calendar cells and map controls stay independent. */
.button {
  border-radius:22px 5px 22px 5px;
  border-width:1px;
  letter-spacing:.005em;
  box-shadow:inset 0 1px 0 #ffffff12,0 4px 12px #18382d0b;
  transition:background-color .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.button:hover { transform:none; }

.button.button-dark,
.button.button-dark:hover,
.booking-next,
.booking-next:hover:not(:disabled),
.booking-panel .booking-submit,
.booking-panel .booking-submit:hover:not(:disabled) {
  background:#1d4032;
  background-image:linear-gradient(125deg,#ffffff05,transparent 70%);
  color:#fff9eb;
  border-color:#526451;
  border-radius:22px 5px 22px 5px;
  box-shadow:inset 0 1px 0 #ffffff12,0 4px 12px #18382d0b;
}
.button.button-cream,
.button.button-cream:hover,
.button.holiday-button,
.button.holiday-button:hover {
  background:#f4eedf;
  color:#244332;
  border-color:#c9b58d;
  box-shadow:inset 0 1px 0 #ffffffb3,0 4px 12px #10291e0b;
}
.button.button-outline,
.button.button-outline:hover {
  background:#ffffff04;
  color:#fff7e5;
  border-color:#b5a17b;
  box-shadow:inset 0 1px 0 #ffffff0a;
}

.button > .arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 30px;
  width:30px;
  height:26px;
  border:1px solid #cbb58b80;
  border-radius:14px 3px 14px 3px;
  color:inherit;
  font-size:18px;
  line-height:1;
  transition:transform .22s ease,border-color .22s ease,background-color .22s ease;
}
.header-cta {
  border-radius:18px 4px 18px 4px;
}
.header-cta > .arrow {
  flex-basis:25px;
  width:25px;
  height:23px;
  font-size:17px;
}

.text-link {
  text-decoration-color:#a69069;
  text-decoration-thickness:1px;
  text-underline-offset:6px;
  transition:color .2s ease,text-decoration-color .2s ease;
}
.season-link { border-bottom-color:#b7a17b99; }
.text-link > [aria-hidden="true"],
.season-link > span {
  display:inline-block;
  transition:transform .22s ease;
}
.text-link:hover { color:inherit; }
.dialog-close,
.site-dialog .dialog-close {
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  border:1px solid #b3bea9;
  border-radius:50%;
  background:#f8f5ee;
  color:#254533;
  font-size:25px;
  box-shadow:0 2px 8px #1632290a;
  transition:background-color .2s ease,border-color .2s ease;
}

.button:focus-visible,
.text-link:focus-visible,
.season-link:focus-visible,
.dialog-close:focus-visible {
  outline:2px solid #244b35;
  outline-offset:5px;
  box-shadow:0 0 0 4px #fff8e8;
}
.button.button:disabled,
.button.button[aria-disabled="true"],
.booking-next:disabled,
.booking-panel .booking-submit:disabled {
  background:#e5e9de;
  color:#5e6d57;
  border-color:#c9d0bf;
  box-shadow:none;
  opacity:1;
  cursor:default;
  transform:none;
}
.button:disabled > .arrow,
.button[aria-disabled="true"] > .arrow { border-color:#b8c3ac; }
.button[aria-busy="true"] { cursor:progress; }

@media (hover:hover) and (pointer:fine) {
  .button:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) {
    transform:translateY(-2px);
    box-shadow:inset 0 1px 0 #ffffff1a,0 7px 16px #18382d13;
  }
  .button.button-dark:hover:not(:disabled):not([aria-disabled="true"]),
  .booking-next:hover:not(:disabled),
  .booking-panel .booking-submit:hover:not(:disabled) {
    background-color:#2a503c;
    border-color:#9a9e7d;
  }
  .button.button-cream:hover,
  .button.holiday-button:hover { background:#fff8e8;border-color:#ad9364; }
  .button.button-outline:hover { background:#f4eedf;color:#244332;border-color:#d5c299; }
  .button:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) > .arrow {
    transform:translateX(3px);
    border-color:#cbb58b;
  }
  .text-link:hover { color:inherit;text-decoration-color:currentColor; }
  .text-link:hover > [aria-hidden="true"],
  .season-link:hover > span { transform:translateX(3px); }
  .dialog-close:hover { background:#e9ede1;border-color:#6e8568; }
}

@media (max-width:700px) {
  .button { border-radius:20px 5px 20px 5px; }
  .header-cta { gap:9px; }
  .button > .arrow { flex-basis:27px;width:27px;height:24px; }
  .header-cta > .arrow { flex-basis:23px;width:23px;height:22px; }
}

/* Keep the two-color keyboard ring visible alongside the hover treatment. */
.button:focus-visible { box-shadow:0 0 0 4px #fff8e8!important; }

@media (prefers-reduced-motion:reduce) {
  .button,
  .button > .arrow,
  .text-link,
  .text-link > [aria-hidden="true"],
  .season-link > span,
  .dialog-close { transition:none; }
  .button:hover,
  .button:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]),
  .button:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]) > .arrow,
  .text-link:hover > [aria-hidden="true"],
  .season-link:hover > span { transform:none; }
}
