@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #d9480f;
  --bg: #ffffff;
  --soft: #f4f4f3;
  --text: #1c1917;
  --muted: #78716c;
  --line: #ececea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #121212; --soft: #232323; --text: #f5f5f4; --muted: #a8a29e; --line: #2a2a2a; }
}
:root[data-theme="dark"] { --bg: #121212; --soft: #232323; --text: #f5f5f4; --muted: #a8a29e; --line: #2a2a2a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.45 "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Capa colorida com textura de pontos e selo com as iniciais */
.capa {
  height: 128px; background-color: var(--brand);
  background-image:
    radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.7px),
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(0,0,0,.2));
  background-size: 18px 18px, 100% 100%;
}
.perfil { text-align: center; padding-bottom: 8px; }
.selo {
  width: 92px; height: 92px; margin: -46px auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, var(--bg));
  border: 4px solid var(--bg); box-shadow: 0 6px 20px rgba(0,0,0,.14);
  color: var(--brand); font-weight: 800; font-size: 32px; letter-spacing: -.03em;
}
.perfil h1 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.perfil p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

.barra {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  padding-top: 12px; border-bottom: 1px solid var(--line);
}
.busca {
  width: 100%; height: 46px; border: 0; border-radius: 999px;
  background: var(--soft); color: var(--text); font: inherit; outline: none;
  padding: 0 16px 0 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center;
}
.busca:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.abas { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; margin-top: 4px; }
.abas::-webkit-scrollbar { display: none; }
.aba {
  flex: none; border: 0; background: none; cursor: pointer;
  padding: 12px 0 10px; border-bottom: 3px solid transparent;
  font: 600 14.5px "Plus Jakarta Sans", sans-serif; color: var(--muted);
}
.aba[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--brand); }

section.cat { padding-top: 24px; scroll-margin-top: 112px; }
section.cat h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 2px; }
section.cat h2 span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
section.cat .item:last-child { border-bottom: 0; }
.item .info { flex: 1; min-width: 0; }
.item h3 { font-size: 15.5px; font-weight: 600; margin: 0; }
.item .desc {
  color: var(--muted); font-size: 13.5px; margin: 4px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.preco { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 15.5px; }
.item img { width: 100px; height: 100px; flex: none; border-radius: 14px; object-fit: cover; background: var(--soft); }

.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.nota { font-size: 12.5px; color: var(--muted); text-align: center; padding: 24px 16px 32px; }
