:root {
  --eer-shell: #f8f6f1;
  --eer-dune: #e8e1d2;
  --eer-driftwood: #c4ad8f;
  --eer-slate: #1e252b;
  --eer-ink: #0f1418;
  --eer-foam: #eceff1;
}

* {
  box-sizing: border-box;
}

.eer-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1000px 420px at 0% 0%, rgba(196, 173, 143, 0.28), transparent 70%),
    radial-gradient(900px 420px at 100% 5%, rgba(232, 225, 210, 0.65), transparent 70%),
    linear-gradient(180deg, #fbfaf7 0%, #f6f1e8 45%, #f3eee5 100%);
}

body.landing-home .eer-bg {
  display: none;
}

body.landing-home {
  font-family: "Open Sans", Helvetica, sans-serif;
}

.eer-landing-wrapper {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.5)),
    url("../images/banner.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.eer-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 35rem;
  height: 100vh;
  text-align: center;
  color: #dfd6b8;
  position: relative;
  overflow: hidden;
}

.eer-banner .inner {
  margin: 0 auto;
  max-width: 56rem;
  padding: 0 1.5rem;
}

.eer-banner h2 {
  display: inline-block;
  margin: 0;
  padding: 0.35em 1em;
  position: relative;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.225em;
  line-height: 1;
  text-transform: uppercase;
}

.eer-banner h2::before,
.eer-banner h2::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

.eer-banner h2::before {
  top: 0;
}

.eer-banner h2::after {
  bottom: 0;
}

.eer-banner p {
  margin-top: 1.5rem;
  letter-spacing: 0.225em;
  text-transform: uppercase;
}

.eer-banner .more {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  border: 0;
  color: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  padding-bottom: 2.1rem;
  min-width: 10rem;
  text-align: center;
}

.eer-banner .more::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.92;
}

.eer-banner .more:hover {
  color: #fff;
}

.eer-booking-section {
  background: #f8f6f1;
  color: #12786f;
  padding: 5rem 1.5rem 3rem;
}

.eer-booking-section .inner {
  max-width: 76rem;
  margin: 0 auto;
}

.eer-hero-copy {
  margin: 0 auto 2.2rem;
  max-width: 72rem;
  color: #12786f;
  font-size: 1.02rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.eer-home-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .eer-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 736px) {
  .eer-landing-wrapper {
    background-attachment: scroll;
  }

  .eer-banner h2 {
    font-size: 1.25rem;
  }

  .eer-banner p {
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .eer-booking-section {
    padding: 3.25rem 1rem 2rem;
  }

  .eer-hero-copy {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

.eer-card {
  border: 1px solid rgba(196, 173, 143, 0.35);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(17, 22, 26, 0.09);
  backdrop-filter: blur(3px);
}

.eer-primary-btn,
.eer-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 180ms ease;
  padding: 0.62rem 1.1rem;
}

.eer-primary-btn {
  background: var(--eer-slate);
  color: var(--eer-shell);
  border: 1px solid var(--eer-slate);
}

.eer-primary-btn:hover,
.eer-primary-btn:focus {
  background: #11171b;
  border-color: #11171b;
}

.eer-secondary-btn {
  background: transparent;
  color: var(--eer-slate);
  border: 1px solid rgba(30, 37, 43, 0.23);
}

.eer-secondary-btn:hover,
.eer-secondary-btn:focus {
  border-color: rgba(30, 37, 43, 0.4);
  background: rgba(255, 255, 255, 0.72);
}

.eer-secondary-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: rgba(30, 37, 43, 0.18);
  background: rgba(255, 255, 255, 0.4);
}

.eer-secondary-btn.is-active {
  background: var(--eer-slate);
  border-color: var(--eer-slate);
  color: var(--eer-shell);
}

.eer-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--eer-slate);
}

.eer-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 37, 43, 0.7);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(196, 173, 143, 0.5);
  background: rgba(255, 255, 255, 0.95);
  color: var(--eer-slate);
  padding: 0.62rem 0.8rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.eer-input {
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  height: 1rem;
  padding: 0;
}

input[readonly] {
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(30, 37, 43, 0.45);
  box-shadow: 0 0 0 3px rgba(30, 37, 43, 0.08);
}

.errorlist {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: #9a1e1e;
  font-size: 0.8rem;
}

.eer-day-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.85rem;
  border: 1px solid rgba(196, 173, 143, 0.36);
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.35rem;
  padding: 0.55rem;
  text-align: left;
  transition: all 150ms ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.eer-day-cell:hover {
  border-color: rgba(30, 37, 43, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.eer-day-cell.is-disabled {
  cursor: not-allowed;
}

.eer-day-cell.is-unavailable {
  background: rgba(236, 239, 241, 0.65);
  border-color: rgba(30, 37, 43, 0.12);
  opacity: 0.68;
}

.eer-day-cell.is-past {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(30, 37, 43, 0.12);
  opacity: 0.45;
}

.eer-day-cell.is-past .eer-day-number {
  color: rgba(30, 37, 43, 0.3);
}

.eer-day-cell.is-out-of-window {
  background: rgba(211, 214, 218, 0.62);
  border-color: rgba(75, 86, 99, 0.24);
  opacity: 1;
}

.eer-day-cell.is-selected-start,
.eer-day-cell.is-selected-end {
  border-color: rgba(92, 122, 144, 0.65);
  box-shadow: inset 0 0 0 2px rgba(92, 122, 144, 0.26);
  background: rgba(214, 227, 236, 0.55);
}

.eer-day-cell.is-in-selected-range {
  border-color: rgba(92, 122, 144, 0.32);
  background: rgba(214, 227, 236, 0.35);
}

.eer-day-cell.is-half-day {
  position: relative;
  overflow: hidden;
}

.eer-day-cell.is-half-day::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 50%, rgba(236, 239, 241, 0.82) 50% 100%);
  pointer-events: none;
}

.eer-day-cell.is-half-day > * {
  position: relative;
  z-index: 1;
}

.eer-day-cell.is-outside {
  opacity: 0.45;
}

.eer-day-cell.is-today {
  border-color: rgba(196, 173, 143, 0.9);
}

.eer-day-cell.admin {
  aspect-ratio: 1 / 1;
}

.eer-day-number {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eer-slate);
}

.eer-day-price {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: rgba(30, 37, 43, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eer-day-state {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 37, 43, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eer-day-meta {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.2rem;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.eer-day-meta > span {
  flex: 0 0 auto;
}

.eer-mini-day {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.65rem;
  border: 1px solid rgba(196, 173, 143, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: var(--eer-slate);
  font-size: 0.82rem;
  transition: all 150ms ease;
}

.eer-mini-day:hover {
  border-color: rgba(30, 37, 43, 0.3);
  background: rgba(255, 255, 255, 1);
}

.eer-mini-day.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.eer-mini-day.is-unavailable {
  background: rgba(236, 239, 241, 0.66);
}

.eer-mini-day.is-past {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(30, 37, 43, 0.12);
  color: rgba(30, 37, 43, 0.3);
  opacity: 0.24;
}

.eer-mini-day.is-out-of-window {
  background: rgba(211, 214, 218, 0.62);
  border-color: rgba(75, 86, 99, 0.24);
}

.eer-mini-day.is-half-day {
  position: relative;
  overflow: hidden;
}

.eer-mini-day.is-half-day::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 50%, rgba(236, 239, 241, 0.82) 50% 100%);
  pointer-events: none;
}

.eer-mini-day.is-outside {
  opacity: 0.24;
}

.eer-mini-day.is-selected-start,
.eer-mini-day.is-selected-end {
  border-color: rgba(92, 122, 144, 0.7);
  box-shadow: inset 0 0 0 2px rgba(92, 122, 144, 0.28);
  background: rgba(214, 227, 236, 0.58);
}

.eer-mini-day.is-in-selected-range {
  border-color: rgba(92, 122, 144, 0.34);
  background: rgba(214, 227, 236, 0.38);
}

@media (max-width: 768px) {
  .eer-day-cell {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  #home-calendar-table th {
    text-align: center;
    font-size: 0.58rem;
    letter-spacing: 0.09em;
    padding-bottom: 0.2rem;
  }

  .eer-day-cell {
    padding: 0.28rem;
    border-radius: 0.6rem;
    margin-bottom: 0.22rem;
  }

  .eer-day-number {
    font-size: 0.76rem;
  }

  .eer-day-price {
    margin-top: 0.14rem;
    font-size: 0.62rem;
  }

  .eer-day-state {
    display: none;
  }
}
