@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Lexend:wght@300;400;500;600&display=swap');

:root {
  --font-heading: 'Cormorant', Georgia, serif;
  --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #000;
  background-color: #fff;
  max-width: 450px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  opacity: 0.6;
}

/* Simple list styling for cafes */
ul, ol {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  padding: 15px 0;
  border-top: 1px solid #000;
  text-align: left;
}

li:last-child {
  border-bottom: 1px solid #000;
}

/* Simple card/container styling */
.cafe-item {
  padding: 20px;
  border: 1px solid #000;
  border-radius: 0;
  margin-bottom: 15px;
  text-align: left;
  display: block;
}

.cafe-item-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.cafe-name {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #000;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.cdc-tag {
  font-size: 11px;
  background-color: #d62d2d;
  color: #fff;
  padding: 2px 6px;
  margin-left: auto;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cafe-name:hover {
  opacity: 1;
  background-color: #000;
  color: #fff;
}

.cafe-address {
  font-size: 13px;
  opacity: 0.7;
}

.meta {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 40px;
  margin-bottom: 30px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chips.cdc-row {
  margin-bottom: 20px;
}

.filter-chips.region-row {
  margin-bottom: 20px;
}

.filter-chip {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: #000;
  color: #fff;
}

.filter-chip.cdc-chip[data-cdc="only"] {
  border-color: #d62d2d;
  color: #d62d2d;
}

.filter-chip.cdc-chip[data-cdc="only"]:hover,
.filter-chip.cdc-chip[data-cdc="only"].active {
  background: #d62d2d;
  border-color: #d62d2d;
  color: #fff;
}

.filter-chip.cdc-chip[data-cdc="all"].active {
  background: #000;
  border-color: #000;
}

.sort-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sort-chips::-webkit-scrollbar {
  display: none;
}

.sort-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.cafe-count {
  font-size: 12px;
  text-align: center;
  margin-bottom: 25px;
  opacity: 0.6;
}
