@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --text: #1A1815;
  --text-muted: #6F6A5E;
  --text-soft: #A39D8E;
  --accent: #C56B42;
  --accent-soft: rgba(197, 107, 66, 0.08);
  --border: #E8E3D8;
}

html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  @apply bg-bg text-text font-sans antialiased;
  line-height: 1.6;
}

h1, h2, h3 {
  @apply font-serif font-normal tracking-tightish;
  line-height: 1.1;
}

/* Leaflet price-pin marker */
.price-pin-wrap {
  background: transparent !important;
  border: none !important;
}
.price-pin {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid var(--bg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: var(--font-sans), system-ui, sans-serif;
  transition: background 0.2s ease, transform 0.2s ease;
}
.price-pin::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--text);
}
.price-pin:hover {
  background: var(--accent);
  transform: scale(1.08);
}
.price-pin:hover::after {
  border-top-color: var(--accent);
}
