:root {
  --bg: #f6f7fb;
  --card: #fff;
  --accent: #0d9488;
  --accent-2: #0ea5a4;
  --muted: #6b7280;
  --border: rgba(15,23,42,0.06);
  --radius: 12px;
  --shadow: 0 6px 18px rgba(15,23,42,0.08);
}

body {
  font-family: sans-serif;
  margin: 0;
  background: var(--bg);
  color: #0f172a;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: bold;
}

.kicker {
  font-size: .85rem;
  color: var(--muted);
}

.desktop a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
}

.actions .btn {
  background: var(--accent);
  color: white;
  padding: .5rem .75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.searchbar {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}

.searchbar input,
.searchbar select {
  flex: 1;
  padding: .5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.listings {
  display: grid;
  gap: 1rem;
}

.card {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.thumb {
  width: 90px;
  height: 70px;
  background: #e6eef0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta {
  flex: 1;
}

.title {
  margin: 0;
  font-size: 1rem;
}

.desc {
  margin: .25rem 0;
  font-size: .9rem;
  color: var(--muted);
}

.info {
  font-size: .8rem;
  color: var(--muted);
}

.price {
  font-weight: bold;
  color: var(--accent);
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  max-width: 400px;
  width: 100%;
}

.modal-content label {
  display: block;
  margin: .5rem 0;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: .5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.modal-content .btn {
  margin-top: 1rem;
  width: 100%;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 1.2rem;
}

.preview img {
  margin-top: .5rem;
  max-width: 100%;
  border-radius: 8px;
}
