/* =========================================================
   Vitrine Garimpos da Bia — identidade visual
   Paleta herdada de garimposdabia.com.br:
   verde-oliva, terracota, bege areia + verde do WhatsApp
   ========================================================= */

:root {
  --olive: #5f6f3f;
  --olive-dark: #47542e;
  --olive-soft: #eef1e6;
  --terracotta: #a9744f;
  --terracotta-dark: #8a5d3e;
  --sand: #f3ead8;
  --cream: #fffcf6;
  --ink: #2b2b2b;
  --ink-soft: #6e6455;
  --line: #e4d9c4;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea855;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 6px 20px rgba(43, 43, 43, 0.08);
  --shadow-pop: 0 12px 32px rgba(43, 43, 43, 0.14);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  /* Fonte manuscrita/script usada só nas frases dos banners (a de boas-vindas
     da vitrine e o versículo de "Quem sou eu") — elegante, mas não é pra
     título comum, títulos continuam em --font-display. */
  --font-script: "Dancing Script", "Brush Script MT", cursive;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #211f1a;
    --cream: #2a2722;
    --ink: #f2ede2;
    --ink-soft: #c9c0b0;
    --line: #3c382f;
    --olive-soft: #2e3524;
  }
}

:root[data-theme="dark"] {
  --sand: #211f1a;
  --cream: #2a2722;
  --ink: #f2ede2;
  --ink-soft: #c9c0b0;
  --line: #3c382f;
  --olive-soft: #2e3524;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 20px;
}
.topbar a.admin-link {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.55;
}
.topbar a.admin-link:hover { opacity: 1; }

/* ---------- Header / banner ---------- */
.profile-header {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--cream);
  padding: 26px 20px 44px;
  isolation: isolate;
}

/* As folhas decorativas nascem parcialmente fora da caixa do banner (top/left
   negativos) e precisam ser recortadas na borda — mas isso não pode valer
   pra tudo dentro do banner: o avatar da página "Quem sou eu" e a fileira de
   ícones abaixo do banner também pendem pra fora da caixa, só que de propósito,
   pra aparecerem inteiros. Por isso o recorte fica só neste wrapper, e não em
   ".profile-header" (que antes tinha "overflow: hidden" e cortava os dois). */
.profile-header .leaf-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.profile-header .leaf-accent {
  position: absolute;
  opacity: 0.35;
}
.profile-header .leaf-accent.left { top: -20px; left: -30px; width: 160px; transform: rotate(-15deg); }
.profile-header .leaf-accent.right { bottom: -10px; right: -20px; width: 190px; transform: scaleX(-1) rotate(-10deg); }

.profile-header__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* No computador, a frase de abertura da vitrine principal ganha mais largura
   pra caber em só 3 linhas em vez de 4 (só essa frase — o versículo de
   "Quem sou eu" continua com a largura de antes). */
@media (min-width: 900px) {
  .profile-header__inner--hero { max-width: 900px; }
}

.profile-header__greeting {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: #ffe3b0;
  margin: 0 0 8px;
}

.profile-header h1 {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: clamp(30px, 6.5vw, 46px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  /* Deixa o navegador escolher onde quebrar a linha pra distribuir o texto
     de forma mais equilibrada entre as linhas, em vez de deixar uma
     palavra sozinha na última linha (efeito "órfã"). Navegadores sem
     suporte a isso ignoram a linha e quebram do jeito normal. */
  text-wrap: balance;
}

.profile-header h1 em {
  font-style: normal;
  font-weight: 700;
  color: #ffe3b0;
}

.profile-header p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 252, 246, 0.88);
  margin: 0;
}

.profile-header p strong { color: var(--cream); }

/* Referência/citação pequena abaixo da frase do banner (ex: "Colossenses 3:23") —
   mais discreta que a frase principal, não é mais um parágrafo comum. */
.profile-header__citation {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 252, 246, 0.72);
  margin: 10px 0 0;
}

/* ---------- Página "Quem sou eu" ---------- */
.about-header { padding-bottom: 68px; }
.about-header__avatar {
  position: absolute;
  right: 24px;
  bottom: -48px;
  z-index: 2;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--cream);
  padding: 6px;
  box-shadow: var(--shadow-pop);
}
.about-header__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.about-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}
/* Título + subtítulo fixos da página, alinhados à esquerda (a caixa de bio e
   o feed de fotos vêm logo abaixo). */
.about-intro { margin-bottom: 22px; }
.about-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 6px;
}
.about-intro p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.about-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 28px;
}
.about-feed { display: flex; flex-direction: column; gap: 20px; }
.about-feed__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-feed__item img { display: block; width: 100%; max-height: 480px; object-fit: cover; }
.about-feed__item p { padding: 12px 16px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); }

/* ---------- Ícones abaixo da faixa do banner (Quem sou eu / Instagram /
   Compartilhar) ---------- */
.header-icons-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive-dark);
  box-shadow: var(--shadow-pop);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.header-icon-btn:hover { transform: translateY(-1px); }
.header-icon-btn svg { width: 20px; height: 20px; }
.header-icons-row__end { display: flex; align-items: center; gap: 10px; }

/* ---------- Avatar ---------- */
.profile-identity {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -48px;
  padding: 0 20px 22px;
  /* Essa caixa é mais larga que o próprio avatar (ocupa a largura toda), e
     fica por cima da fileira de ícones (Quem sou eu / Compartilhar /
     Instagram) que pende logo abaixo do banner — sem isso, as bordas vazias
     dela (à esquerda e à direita do avatar) "roubavam" o clique dos ícones,
     mesmo eles aparecendo visualmente por baixo. Desliga o clique na caixa
     toda e liga de volta só nos filhos (avatar, nome, botão do WhatsApp,
     texto), que são o que realmente precisa continuar clicável/selecionável. */
  pointer-events: none;
}
.profile-identity > * { pointer-events: auto; }

.avatar-frame {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--cream);
  padding: 6px;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-pop);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.profile-identity h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 2px;
  letter-spacing: 0.02em;
}

.handle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-identity .handle {
  color: var(--ink-soft);
  font-size: 14px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.social-icon:hover { color: var(--terracotta); }
.social-icon svg { width: 16px; height: 16px; }

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-terracotta {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-terracotta:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  color: var(--olive-dark);
  border: 1.5px solid var(--olive);
}
.btn-outline:hover { background: var(--olive-soft); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Search ---------- */
.search-bar {
  max-width: 520px;
  margin: 0 auto 8px;
  padding: 0 20px;
}

.search-bar__field {
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
}

.search-bar input:focus {
  border-color: var(--olive);
}

.search-bar__field svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ink-soft);
}

.profile-intro {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 18px auto 0;
}

.profile-intro strong { color: var(--terracotta-dark); font-weight: 700; }

/* Em telas maiores, o texto de boas-vindas pode ocupar mais largura da
   página em vez de ficar espremido numa coluna estreita — assim quebra em
   menos linhas e a barra de busca aparece mais perto do topo, sem rolagem. */
@media (min-width: 640px) {
  .profile-intro { max-width: 640px; font-size: 13px; }
}

/* ---------- Abas Carrosséis / Vitrine / Biblioteca / Moodboards ---------- */
.content-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 480px;
  margin: 6px auto 14px;
  padding: 0 20px;
}
.content-tab {
  flex: 1 1 auto;
  text-align: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.content-tab:hover { border-color: var(--olive); }
.content-tab.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}

/* ---------- Filtro de categorias: ícone no canto direito ---------- */
.tab-toolbar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 0 20px;
}
.category-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.category-filter-toggle svg { width: 15px; height: 15px; flex-shrink: 0; }
.category-filter-toggle:hover { border-color: var(--terracotta); }
.category-filter-toggle[aria-expanded="true"] { border-color: var(--terracotta); color: var(--terracotta-dark); }
.category-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 20px;
  z-index: 5;
  flex-direction: column;
  gap: 6px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(60, 46, 26, 0.16);
  min-width: 200px;
}
.category-filter-group { flex-wrap: wrap; gap: 6px; }
/* Sem isso, o atributo "hidden" (mesma especificidade que a classe) perde
   pra regra de display acima e o painel/abas ficam sempre visíveis, todos
   empilhados — [hidden] precisa vencer explicitamente. */
.category-filter-dropdown[hidden] { display: none; }
.category-filter-dropdown:not([hidden]) { display: flex; }
.category-filter-group[hidden] { display: none; }
.category-filter-group:not([hidden]) { display: flex; }
.category-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.category-pill:hover { border-color: var(--terracotta); }
.category-pill.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

/* ---------- Grid de posts ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 20px 60px;
  max-width: 1080px;
  margin: 0 auto;
}

.posts-grid[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 900px) {
  .posts-grid { grid-template-columns: repeat(4, 1fr); }
}

.post-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }

.post-card.is-pinned {
  border: 1.5px solid rgba(37, 211, 102, 0.55);
}

.post-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--olive-soft);
}
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}

.post-card__code {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(43, 43, 43, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.post-card__pin {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
}
.post-card__pin svg { width: 11px; height: 11px; flex-shrink: 0; }

.post-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
}

.post-card__subtitle {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 0;
}

.post-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--olive);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 999px;
  text-align: center;
}
.post-card:hover .post-card__cta { background: var(--olive-dark); }

.post-card__cta .count {
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 7px;
  border-radius: 999px;
}

/* ---------- Cards da Biblioteca ---------- */
.book-card .post-card__media {
  aspect-ratio: 3 / 4;
  background: var(--terracotta-soft, var(--olive-soft));
}
.book-card__comment {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card__comment.is-clampable {
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  text-decoration-color: var(--olive);
}
.book-card__cta {
  background: var(--terracotta);
  text-decoration: none;
}
.book-card:hover .book-card__cta { background: var(--terracotta-dark); }

/* ---------- Cards da Vitrine (produtos avulsos) ---------- */
.vitrine-card .post-card__media { aspect-ratio: 1 / 1; }
.vitrine-card__desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vitrine-card .book-card__cta { background: var(--terracotta); text-decoration: none; }
.vitrine-card:hover .book-card__cta { background: var(--terracotta-dark); }

/* Comentário completo do livro: aparece ao passar o mouse (computador) ou ao
   tocar (celular) quando o texto está cortado — ver main.js. */
.book-comment-tooltip {
  display: none;
  position: fixed;
  max-width: 260px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  z-index: 500;
  pointer-events: none;
}
.book-comment-tooltip.is-visible { display: block; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state svg { width: 46px; height: 46px; color: var(--terracotta); margin-bottom: 14px; }

/* ---------- Página do álbum (post.php) ---------- */
.album-header {
  background: var(--olive);
  color: var(--cream);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.album-header a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.album-header a.back svg { width: 18px; height: 18px; }

.album-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 50px;
}

@media (min-width: 760px) {
  .album-wrap { max-width: 980px; padding: 36px 32px 60px; }
}

.album-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.album-tag {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}

.album-hint {
  font-size: 11.5px;
  color: var(--ink-soft);
}
@media (min-width: 760px) {
  /* No desktop as fotos e os links já aparecem lado a lado, sem precisar rolar. */
  .album-hint { display: none; }
}

.album-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 26px);
  margin: 0 0 6px;
}
.album-wrap .subtitle {
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.album-content { display: block; }

@media (min-width: 760px) {
  .album-content {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 36px;
    align-items: start;
  }
}

.album-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
@media (min-width: 760px) {
  .album-gallery { margin-bottom: 0; }
}
.album-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}
.album-gallery.single { grid-template-columns: 1fr; }
.album-gallery.single img { aspect-ratio: 4/5; }

.hotspot-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.moodboard-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto 30px;
}
.moodboard-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}
@media (min-width: 760px) {
  .moodboard-wrap { max-width: none; margin: 0; }
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: var(--radius-sm, 6px);
}
.hotspot:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}
.hotspot__num {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 26, 20, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.hotspot:hover .hotspot__num,
.hotspot:focus-visible .hotspot__num {
  background: var(--terracotta);
  transform: scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .hotspot__num { transition: none; }
}

.links-section h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.links-empty {
  background: var(--olive-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.links-empty strong { color: var(--ink); }
.links-empty p { margin: 0; }

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.link-row:hover { border-color: var(--terracotta); background: var(--olive-soft); }
.link-row svg { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; }

/* Lightbox simples */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-media {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 90vh;
  line-height: 0;
}
.lightbox-media img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  touch-action: pan-y;
}
/* Nos moodboards com produtos marcados, os números continuam clicáveis
   também na visualização ampliada (mesmo estilo usado na página). */
.lightbox-media .hotspot__num { font-size: 12px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

/* Setas discretas para passar as fotos do álbum sem fechar a visualização */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.lightbox-nav:hover,
.lightbox-nav:focus-visible { opacity: 1; background: rgba(255, 255, 255, 0.26); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox:not(.has-nav) .lightbox-nav { display: none; }

@media (max-width: 560px) {
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--ink-soft);
}
.site-footer p { margin: 0; }
.site-footer__main {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.site-footer__sub {
  font-size: 12px;
  margin-top: 7px;
}

/* ---------- Toast (compartilhar / copiar link) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .post-card, .btn, .toast { transition: none; }
}
