/* Mobile nav toggle */
[data-mobile-nav] { display: none; }
[data-mobile-nav].is-open { display: flex; }
@media (min-width: 1024px) {
  [data-mobile-nav] { display: none !important; }
}

/* Chat bubble widget */
.chat-widget { font-family: inherit; }
.chat-panel {
  display: none;
  width: 320px;
  max-width: calc(100vw - 2rem);
  margin-bottom: 12px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.chat-panel.is-open { display: block; }
.chat-panel-header {
  background: #2f9e44;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  position: relative;
}
.chat-panel-status {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.9;
}
.chat-panel-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.chat-panel-body { padding: 16px; background: #f4faf1; }
.chat-field-label { display: none; }
.chat-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: #cdeccb;
  color: #1f2937;
  font-size: 14px;
}
.chat-field::placeholder { color: #4b5f4a; }
.chat-textarea { min-height: 90px; resize: vertical; }
.chat-send-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2f9e44;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.chat-send-btn:hover { background: #278239; }
.chat-success {
  background: #e6f6e8;
  color: #1e7b30;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}
.chat-toggle-btn { cursor: pointer; border: none; }

/* Contact form success / error banners shared across pages */
[data-form-success] { display: none; }
[data-form-error] {
  display: none;
  color: #b91c1c;
  font-size: 14px;
  margin-top: 8px;
}

/* Gallery filter buttons */
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.gallery-filter-btn:hover { background: hsl(var(--accent)); }
.gallery-filter-btn.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.gallery-item { display: block; }
.gallery-item.is-hidden { display: none; }
