:root {
  --bg-body: #fff;
  --bg-card: #ffffff;
  --bg-hover: #f0f4f8;
  --text-primary: #1a2332;
  --text-secondary: #3d4a5c;
  --text-muted: #7a8a9e;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --border-input: #d1d9e6;
  --accent-color: #2d6a4f;
  --text-white: #fff;
  --red: #dc3545;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

body {
  font-family: 'DM Mono', monospace;
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  background: var(--bg-card);
  margin-top: 40px;
}

.top-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.top-bar-inner .current {
  color: var(--text-primary);
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.gallery-main {
  width: 100%;
  height: 340px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-main svg {
  width: 190px;
  height: 190px;
  color: var(--accent-color);
  opacity: 0.85;
}

.gallery-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  font-size: 0.65rem;
  color: var(--accent-color);
  padding: 0.3rem 0.6rem;
}

.gallery-status.unavailable {
  color: var(--red);
}

.gallery-status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  flex-shrink: 0;
}

.gallery-status.unavailable .gallery-status-dot {
  background: var(--red);
}

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 68px;
  height: 68px;
  border: 1.5px solid var(--border-input);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: var(--accent-color);
}

.gallery-thumb svg {
  width: 30px;
  height: 30px;
  color: var(--accent-color);
  opacity: 0.7;
}

.item-header {
  margin-top: 1.6rem;
}

.item-eyebrow {
  font-size: 0.68rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.item-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.item-sub strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  opacity: 0.6;
}

.item-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  margin-top: 0.25rem;
}

.spec-cell {
  background: var(--bg-card);
  padding: 0.75rem 0.9rem;
}

.spec-cell .k {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-cell .v {
  font-size: 0.78rem;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.booking-panel {
  position: sticky;
  top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.1rem;
}

.booking-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.booking-price span {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
}

.booking-price-week {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.cal-wrap {
  margin-top: 1.1rem;
  border: 1px solid var(--border-light);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.cal-head .label {
  font-size: 0.75rem;
  font-weight: 500;
}

.cal-nav {
  display: flex;
  gap: 0.3rem;
}

.cal-nav button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-input);
  color: var(--text-secondary);
  cursor: pointer;
}

.cal-nav button:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.cal-nav button svg {
  width: 11px;
  height: 11px;
}

.cal-body {
  padding: 0.65rem 0.75rem 0.85rem;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.35rem;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  cursor: pointer;
  color: var(--text-secondary);
  border: 1px solid transparent;
  position: relative;
}

.cal-day.blank {
  cursor: default;
}

.cal-day.past {
  color: var(--border-input);
  cursor: not-allowed;
}

.cal-day.booked {
  color: var(--text-muted);
  text-decoration: line-through;
  cursor: not-allowed;
  background: var(--bg-hover);
}

.cal-day.available:hover:not(.in-range):not(.range-start):not(.range-end) {
  border-color: var(--accent-color);
}

.cal-day.range-start,
.cal-day.range-end {
  background: var(--accent-color);
  color: var(--text-white);
}

.cal-day.in-range {
  background: #dcece3;
  color: var(--accent-color);
}

.cal-legend {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.7rem;
  font-size: 0.6rem;
  color: var(--text-muted);
}

.cal-legend span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cal-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex-shrink: 0;
}

.cal-legend .lg-booked {
  background: var(--bg-hover);
  border: 1px solid var(--border-input);
}

.cal-legend .lg-selected {
  background: var(--accent-color);
}

.date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.date-field .k {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: capitalize;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 10px;
}

.date-field .v {
  font-size: 0.75rem;
  border: 1px solid var(--border-input);
  padding: 0.5rem 0.6rem;
  color: var(--text-primary);
  background: var(--bg-hover);
  font-weight: 600;
  margin-bottom: 10px;
}

.time-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.time-picker {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-input);
  background: var(--bg-card);
}

.time-picker select {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  padding: 0.6rem 0.3rem;
  text-align: center;
  cursor: pointer;
}

.time-picker select:focus {
  outline: none;
  background: var(--bg-hover);
}

.time-picker .tp-hour,
.time-picker .tp-minute {
  flex: 1 1 0;
}

.time-picker .tp-sep {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  padding: 0 0.05rem;
}

.time-picker .tp-meridiem {
  flex: 1.2 1 0;
  border-left: 1px solid var(--border-light);
  color: var(--accent-color);
  font-weight: 500;
}

.booking-summary {
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.booking-summary .row {
  display: flex;
  justify-content: space-between;
}

.booking-summary .total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.82rem;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--border-light);
}

.availability-feedback {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.6rem;
  text-align: center;
  display: none;
}

.availability-feedback.available {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.availability-feedback.unavailable {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.availability-feedback.checking {
  display: block;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.time-note {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.3rem;
}

.btn-primary {
  width: 100%;
  height: 42px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--accent-color);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-clear {
  width: 100%;
  height: 34px;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  background: none;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-clear:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-clear:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.booking-hint {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 820px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }
}

.spec-data {
  margin-top: 15px;
  font-weight: 600;
  font-size: 15px;
}

.spec-data span {
  font-weight: 500;
}

/*header section*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--bg-elevated);
  outline: none;
}

.nav-links a.active {
  color: var(--accent-color);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: var(--accent-color);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.contact-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.contact-item:hover,
.contact-item:focus-visible {
  color: var(--text);
  outline: none;
}

.contact-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  background: transparent;
  color: var(--accent);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-color);
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-open {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-close {
  display: block;
}

.mobile-panel {
  display: none;
}

@media (max-width: 960px) {

  .header-contact .contact-item.email-item,
  .contact-divider {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: var(--header-height-mobile);
  }

  .header-inner {
    padding: 0 20px;
  }

  .nav-links,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-panel {
    display: block;
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-body);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow-y: auto;
  }

  .site-header.menu-open .mobile-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav-links {
    list-style: none;
    border-top: 1px solid var(--border);
  }

  .mobile-nav-links a {
    display: block;
    padding: 18px 20px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav-links a.active {
    color: var(--accent-color);
  }

  .mobile-contact {
    padding: 24px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-contact .contact-item {
    font-size: 14px;
  }

  .mobile-contact .contact-cta {
    justify-content: center;
    padding: 14px;
    margin-top: 8px;
  }
}