/* ===== Reservation Modal (WhatsApp) ===== */
.tn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tn-modal-overlay.tn-open {
  display: flex;
  opacity: 1;
}
.tn-modal {
  background: #FFFBF5;
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
  font-family: 'Work Sans', sans-serif;
}
.tn-modal-overlay.tn-open .tn-modal {
  transform: translateY(0) scale(1);
}
.tn-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #7a6a58;
  padding: 6px;
}
.tn-modal-close:hover { color: #B4632F; }

.tn-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.tn-modal h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin: 0 0 4px;
  color: #2c2115;
}
.tn-modal-sub {
  font-size: 0.9rem;
  color: #7a6a58;
  margin: 0;
}
.tn-lang-select {
  border: 1px solid #E7D3BC;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: 'Work Sans', sans-serif;
  color: #4a3c2c;
  cursor: pointer;
  flex-shrink: 0;
}

.tn-form-row {
  margin-bottom: 14px;
}
.tn-form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a3c2c;
  margin-bottom: 5px;
}
.tn-form-row label .tn-optional {
  font-weight: 400;
  color: #a3937f;
  font-size: 0.78rem;
}
.tn-form-row input,
.tn-form-row select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid #E7D3BC;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Work Sans', sans-serif;
  color: #2c2115;
  background: #fff;
  transition: border-color 0.2s ease;
}
.tn-form-row input:focus,
.tn-form-row select:focus {
  outline: none;
  border-color: #B4632F;
}
.tn-form-row input.tn-error {
  border-color: #c0392b;
}
.tn-error-msg {
  color: #c0392b;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.tn-error-msg.tn-show { display: block; }

.tn-modal-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}
.tn-modal-submit:hover { background: #1ebe5a; }

@media (prefers-color-scheme: dark) {
  .tn-modal { background: #FFFBF5; }
}

/* ===== Site-wide language switcher (header) ===== */
.tn-site-lang-select {
  border: 1px solid #E7D3BC;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-family: 'Work Sans', sans-serif;
  color: #4a3c2c;
  cursor: pointer;
  margin-left: 12px;
}

/* ===== Mobile nav dropdown ===== */
@media (max-width: 940px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #FBF9F4;
    border-bottom: 1px solid rgba(43, 42, 38, 0.14);
    box-shadow: 0 16px 30px rgba(43, 42, 38, 0.08);
    padding: 8px 24px 20px;
  }
  .nav-links.tn-nav-open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(43, 42, 38, 0.08);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    display: flex;
  }
  .nav-links .tn-site-lang-select {
    margin: 14px 0 0;
    width: 100%;
  }
  .nav {
    position: relative;
  }
}
