/* Páginas de links — mobile first, leve, sem framework */
:root {
  --bg: #f6f7f5;
  --card: #ffffff;
  --text: #1c2a2c;
  --muted: #5c6b6d;
  --line: #e2e8e6;
  --accent: #0e5c63;
  --accent-2: #14757d;
  --btn-text: #ffffff;
  --badge-bg: #e8f4f3;
  --badge-text: #0e5c63;
  --shadow: 0 8px 24px rgba(20, 40, 42, 0.07);
  --radius: 18px;
}

[data-theme="casa"] {
  --bg: #f8f3ec;
  --card: #fffdf9;
  --text: #2a2723;
  --muted: #6d655c;
  --line: #eadfce;
  --accent: #2f7d8a;
  --accent-2: #c7783a;
  --btn-text: #fffdf9;
  --badge-bg: #efe4d4;
  --badge-text: #2f7d8a;
  --shadow: 0 8px 24px rgba(80, 50, 20, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 20px 16px 56px;
}

.header {
  text-align: center;
  padding: 8px 0 18px;
}
.logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  object-fit: contain;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
[data-theme="casa"] .logo {
  border-radius: 50%;
  background: #faf6f0;
}
.header h1 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.handle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tagline {
  margin: 10px 0 0;
  font-size: 1rem;
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .photo {
  aspect-ratio: 1 / 1;
  background: #eee;
  overflow: hidden;
}
.card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.price {
  margin: 4px 0 0;
  font-size: 1.12rem;
  font-weight: 750;
}
.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.btn {
  display: block;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-text);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn:hover, .btn:focus-visible {
  background: var(--accent-2);
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.footer p { margin: 0 0 8px; }

.status {
  margin-top: 22px;
  padding: 14px;
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .wrap { width: min(100%, 760px); padding-top: 32px; }
  .grid { grid-template-columns: 1fr 1fr 1fr; }
  .header h1 { font-size: 1.8rem; }
}
