/* =========================================================
   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: #fdfcf9; /* fundo da página: branco levemente quente (era #f3ead8, bege) */
  --cream: #ffffff;
  --ink: #2b2b2b;
  --ink-soft: #6e6455;
  --line: #ece5d6;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea855;
  /* Verde bem escuro do selo de urgência — propositalmente mais escuro e
     saturado que --olive-dark, pra chamar mais atenção que o resto da
     paleta (pedido explícito: "queria que chamasse mais a atenção"). */
  --urgency-green: #0f3d20;
  /* texto sobre fundo verde (sempre claro, também no modo escuro) e texto de destaque verde (claro no modo escuro) */
  --on-olive: #fffcf6;
  --accent-text: #47542e;

  --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;
    --accent-text: #d4e2ab;
  }
}

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

* { 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(--on-olive);
  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(--on-olive); }

/* 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 de ação (Quem sou eu / Instagram / WhatsApp / Compartilhar /
   Música) — vivem dentro da barra fixa (.sticky-nav), ver mais abaixo. ---------- */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--accent-text);
  box-shadow: var(--shadow-pop);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.header-icon-btn:hover { transform: translateY(-1px); }
.header-icon-btn svg { width: 20px; height: 20px; }

/* ---------- Tooltip reutilizável (qualquer elemento com data-tooltip) ----------
   Usado nos ícones do cabeçalho (Quem sou eu / Compartilhar / Instagram) e,
   futuramente, em qualquer outro ícone sem legenda visível. */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(30, 28, 24, 0.94);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 7px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 30;
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (hover: none) {
  /* Telas sem mouse (celular/tablet): a explicação do ícone já vem no
     aria-label, então não tenta mostrar a bolha de tooltip no toque. */
  [data-tooltip]::after { display: none; }
}

/* ---------- Menu lateral (site público) ----------
   Gaveta que reúne todas as abas de conteúdo + "Quem sou eu". Diferente do
   menu do painel admin, aqui não existe versão "coluna fixa" no computador —
   fica sempre recolhida até a pessoa tocar no ícone (pedido explícito:
   "expansível e recolhível"), e o ícone pra abrir fica fixo na tela,
   presente em toda página (index/post/sobre), não só quando a barra de
   busca gruda no topo. */
.public-sidebar-toggle {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 70;
}
.public-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 20, 0.42);
  z-index: 68;
}
.public-sidebar-overlay:not([hidden]) { display: block; }
.public-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 280px;
  max-width: 84vw;
  background: var(--cream);
  box-shadow: var(--shadow-pop);
  z-index: 69;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.public-sidebar.is-open { transform: translateX(0); }

.public-sidebar__header {
  display: flex;
  align-items: center;
  gap: 10px;
  /* O botão que abre/fecha o menu (.public-sidebar-toggle) fica fixo em
     cima da tela (top:16px; left:16px; 40x40px) mesmo com a gaveta aberta,
     bem em cima de onde essa linha (foto + nome) começaria — por isso o
     espaço no topo é maior aqui, só nessa gaveta, pra empurrar a foto pra
     baixo e sobrar aquele cantinho livre pro botão, sem se sobrepor. */
  padding: 76px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.public-sidebar__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.public-sidebar__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.public-sidebar__brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
}
.public-sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  flex-shrink: 0;
}
.public-sidebar__close:hover { background: var(--olive-soft); color: var(--accent-text); }
.public-sidebar__close svg { width: 16px; height: 16px; }

.public-sidebar__nav {
  padding: 12px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.public-sidebar__divider {
  height: 1px;
  background: var(--line);
  margin: 10px 12px;
}
.public-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.public-sidebar__link:hover { background: var(--olive-soft); color: var(--accent-text); }
.public-sidebar__link.is-active { background: var(--olive); color: var(--on-olive); }
/* Botões do menu com contorno definido (mesmo desenho do menu do painel) */
.public-sidebar__nav { gap: 7px; }
.public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push),
.public-sidebar__row .public-sidebar__link { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }
.public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push):hover,
.public-sidebar__row .public-sidebar__link:hover { border-color: var(--olive); background: var(--olive-soft); }
.public-sidebar__nav > .public-sidebar__link.is-active,
.public-sidebar__row .public-sidebar__link.is-active { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.public-sidebar__row { display: flex; gap: 6px; align-items: stretch; }
.public-sidebar__row .public-sidebar__link { flex: 1 1 auto; min-width: 0; }
.public-sidebar__share {
  flex: 0 0 44px; width: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); color: var(--accent-text); border-radius: 12px;
}
.public-sidebar__share:hover { border-color: var(--olive); background: var(--olive-soft); }
.public-sidebar__share svg { width: 17px; height: 17px; }
.public-sidebar__link--whatsapp { color: var(--whatsapp-dark); }
.public-sidebar__link--whatsapp:hover { background: #e4f8ea; color: var(--whatsapp-dark); }
.public-sidebar__icon { display: flex; flex-shrink: 0; }
.public-sidebar__icon svg { width: 18px; height: 18px; }
.public-sidebar__label { flex: 1 1 auto; }

@media (min-width: 900px) {
  .public-sidebar { width: 300px; }
}

/* ---------- Avatar ---------- */
.profile-identity {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -48px;
  padding: 0 20px 22px;
}

.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(--on-olive);
}
.btn-terracotta:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  color: var(--accent-text);
  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; }

/* ---------- Barra fixa (busca + abas + categoria + ícones de ação) ----------
   Fica presa no topo da tela ao rolar, pra busca, seleção de aba/categoria e
   os acessos rápidos (música, quem sou eu, WhatsApp, Instagram, compartilhar)
   nunca saírem da vista, tanto no mobile quanto no desktop. */
.sticky-nav-sentinel { height: 1px; }
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--sand);
  padding-top: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.sticky-nav.is-stuck {
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--line);
}
.sticky-nav__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px 10px;
}
.sticky-nav__icon-btn { width: 34px; height: 34px; }
.sticky-nav__icon-btn svg { width: 17px; height: 17px; }
.sticky-nav__volume {
  display: flex;
  align-items: center;
  background: var(--cream);
  border-radius: 999px;
  padding: 0 10px;
  height: 34px;
  box-shadow: var(--shadow-pop);
}
.sticky-nav__volume input[type="range"] {
  width: 64px;
  accent-color: var(--olive);
  cursor: pointer;
}

/* ---------- 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; }
}

/* ---------- Filtro de categorias: ícone no canto direito ---------- */
.theme-head--geral { justify-content: space-between; }
.theme-head--geral .tab-toolbar { margin: 0; padding: 0; max-width: none; }
.theme-head--geral .category-filter-dropdown { right: auto; left: 0; }
.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-filter-heading {
  flex: 0 0 100%;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.category-filter-heading:first-child { margin-top: 0; }
/* Departamentos no menu lateral (a Vitrine expande) */
.public-sidebar__sub { display: flex; flex-direction: column; gap: 2px; margin: -2px 0 4px 18px; padding-left: 10px; border-left: 2px solid var(--line); }
.public-sidebar__sublink {
  padding: 7px 10px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.public-sidebar__sublink:hover { background: var(--olive-soft); color: var(--accent-text); }
.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); }
}

/* ---------- Página inicial no computador: menos espaço antes dos posts ----------
   No celular a pessoa já espera rolar — mas no computador, com o cabeçalho +
   avatar + texto de boas-vindas + barra de busca, nenhum post aparecia sem
   rolar a tela, dando a impressão de que ainda não tinha nada publicado.
   Essas regras só entram a partir de 900px (computador) e deixam o topo mais
   compacto, sem remover nenhum post/link nem o texto de boas-vindas (volta a
   aparecer normalmente — só o cabeçalho ao redor dele é que fica mais justo). */
@media (min-width: 900px) {
  .profile-header { padding: 18px 20px 28px; }
  .profile-identity { margin-top: -36px; padding-bottom: 12px; }
  .avatar-frame { width: 84px; height: 84px; margin-bottom: 8px; }
  .profile-identity h2 { font-size: 19px; }
  .profile-actions { margin-top: 10px; }
  .profile-intro { margin-top: 10px; }
  .sticky-nav { padding-top: 8px; }
  .search-bar { margin-bottom: 4px; }
  .tab-toolbar { margin-bottom: 10px; }
}

.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__cta--soldout { background: #d9d4c8 !important; color: #7a7466 !important; cursor: default; pointer-events: none; text-align: center; }
.post-card__new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e9b44c;
  color: #3b3f1f;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.post-card.is-pinned .post-card__new { right: 92px; } /* não cobre o selo "fixado" */
.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; }

/* ---------- Selo de urgência com contagem regressiva ----------
   Opcional por conteúdo (ver render_urgency_badge_html() em functions.php) —
   só existe quando alguém define uma data manualmente naquele conteúdo
   específico. .post-card__urgency é a variante em cima da imagem do card;
   .urgency-badge--block é a variante avulsa usada no topo de post.php. */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--urgency-green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.urgency-badge svg { width: 13px; height: 13px; flex-shrink: 0; }

.post-card__urgency {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.urgency-badge--block {
  margin: 0 0 12px;
}

.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(--on-olive);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 999px;
  text-align: center;
}
.store-tag {
  align-self: center;
  margin-top: auto;
  margin-bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px 2px 8px;
  border-radius: 999px;
  background: var(--olive-soft);
  border: 1px solid var(--line);
  color: var(--accent-text);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}
.store-tag__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.store-tag + .post-card__cta { margin-top: 0; }
.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 Vitrine (produtos avulsos) ---------- */
/* Card destacado quando a pessoa chega por um aviso (?destaque=ID) */
.post-card.is-spotlight { animation: gb-spotlight 1.3s ease-in-out 3; }
@keyframes gb-spotlight { 0%, 100% { box-shadow: 0 0 0 0 rgba(169, 116, 79, 0); } 50% { box-shadow: 0 0 0 5px rgba(169, 116, 79, 0.55), 0 10px 28px rgba(169, 116, 79, 0.35); } }
/* Carrossel de fotos no card do produto (quando tem mais de uma foto): rola/arrasta com "snap"; setinha e bolinhas discretas. */
.card-slider { position: absolute; inset: 0; }
.card-slider__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.card-slider__track::-webkit-scrollbar { display: none; }
.card-slider__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.card-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; padding: 0; background: rgba(255, 252, 246, 0.82); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); opacity: 0.85; z-index: 3; }
.card-slider__arrow:hover { opacity: 1; background: #fff; }
.card-slider__arrow[hidden] { display: none; }
.card-slider__arrow--prev { left: 6px; } .card-slider__arrow--next { right: 6px; }
.card-slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; gap: 5px; justify-content: center; pointer-events: none; z-index: 3; }
.card-slider__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 3px rgba(0, 0, 0, 0.35); }
.card-slider__dots i.is-on { background: #fff; width: 8px; height: 8px; margin-top: -1px; }
.post-card__media.is-slid .post-card__video, .post-card__media.is-slid .post-card__playhint { opacity: 0; visibility: hidden; }
.vitrine-card .post-card__media { aspect-ratio: 9 / 16; } /* vertical, como nos stories, em qualquer celular */
.vitrine-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.tag-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}
.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;
}
/* Legenda do produto cortada: toque (celular) ou passe o mouse (computador) para ler inteira. */
.vitrine-card__desc.is-clampable {
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  text-decoration-color: var(--olive);
}
.vitrine-card .card-cta-loja { background: var(--terracotta); text-decoration: none; }
.vitrine-card:hover .card-cta-loja { background: var(--terracotta-dark); }

.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; }

/* ---------- Paginação (cada seção/aba, 12 por página — ver main.js) ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 20px 10px;
}
.pagination__info {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  min-width: 108px;
  text-align: center;
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---------- Página do álbum (post.php) ---------- */
.album-header {
  background: var(--olive);
  color: var(--on-olive);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  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; }

/* ---------- Compartilhar um conteúdo específico (post.php) ----------
   Tenta primeiro o share nativo do aparelho (Web Share API — já inclui
   WhatsApp, Instagram etc sozinho); só quando o navegador não tem isso
   (a maioria dos desktops) é que aparece esse menu com as duas opções. */
.content-share { position: relative; flex-shrink: 0; }
.content-share__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  z-index: 50;
}
.content-share__menu[hidden] { display: none; }
.content-share__option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.content-share__option:hover { background: var(--olive-soft); }
.content-share__option svg { width: 17px; height: 17px; flex-shrink: 0; }

.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-body-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.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; }

/* Celular: as fotos do carrossel viram uma fileira pequena (rolagem de lado) pra lista de links aparecer logo.
   Tocar numa foto continua ampliando, como antes. */
@media (max-width: 759px) {
  .album-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 18px;
    padding: 2px 2px 8px;
  }
  .album-gallery img { flex: 0 0 104px; width: 104px; scroll-snap-align: start; box-shadow: none; border: 1px solid var(--line); }
  .album-gallery.single { display: block; }
  .album-gallery.single img { width: 132px; 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);
}

/* ---------- Botão flutuante "voltar ao topo" ---------- */
/* Some das 3 páginas públicas (vitrine, álbum de conteúdo, quem sou eu) —
   só aparece depois de rolar um pouco a página (ver main.js), pra não ficar
   no caminho logo de cara. */
.back-to-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- Puxar para atualizar (pull-to-refresh) ----------
   Indicador flutuante criado pelo main.js; só existe em telas de toque.
   Fica escondido acima do topo da tela até a pessoa puxar pra baixo, igual
   a qualquer app nativo. */
.ptr-indicator {
  position: fixed;
  top: -50px;
  left: 50%;
  margin-left: -19px;
  z-index: 950;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.ptr-indicator.is-active { opacity: 1; }
.ptr-indicator__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--sand);
  border-top-color: var(--olive-dark);
  transition: border-color 0.15s ease;
}
.ptr-indicator.is-ready .ptr-indicator__spinner { border-top-color: var(--terracotta); }
.ptr-indicator.is-loading .ptr-indicator__spinner { animation: ptr-spin 0.7s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }

/* ---------- Player de música flutuante (post.php / sobre.php) ----------
   No index.php a música já vive dentro da barra fixa (.sticky-nav__icons);
   nas outras 2 páginas, que não têm essa barra, ela aparece flutuando no
   canto oposto ao botão de voltar ao topo, sempre visível enquanto tocar. */
.floating-music-player {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ---------- Telinha opcional antes do grupo do WhatsApp (whatsapp-click.php) ----------
   Só existe quando "Capturar contato antes do grupo" está ligado nas
   Configurações do painel — desligado (padrão), whatsapp-click.php nunca
   chega a montar esse HTML, vai direto pro grupo como sempre foi. */
body.whatsapp-gate-page {
  background: var(--sand);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.whatsapp-gate {
  width: 100%;
  max-width: 420px;
}
.whatsapp-gate__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 26px;
  text-align: center;
}
.whatsapp-gate__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  margin: 0 auto 16px;
}
.whatsapp-gate__icon svg { width: 28px; height: 28px; }
.whatsapp-gate__card h1 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--ink);
}
.whatsapp-gate__intro {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.5;
}
.whatsapp-gate__form { text-align: left; }
.whatsapp-gate__form .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.whatsapp-gate__form .field { margin-bottom: 14px; }
.whatsapp-gate__form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.whatsapp-gate__form input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.whatsapp-gate__form input:focus {
  outline: none;
  border-color: var(--olive);
}
.whatsapp-gate__skip {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
}
.whatsapp-gate__skip:hover { color: var(--ink); }


/* ---------- Aviso (pop-up) da vitrine ---------- */
.notice-backdrop {
  position: fixed; inset: 0; background: rgba(43, 43, 43, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 200;
}
.notice-backdrop[hidden] { display: none; }
.notice-box {
  position: relative; width: 100%; max-width: 440px; max-height: 88vh; overflow-y: auto;
  background: var(--cream); border-radius: var(--radius-lg, 22px);
  box-shadow: var(--shadow-pop, 0 12px 32px rgba(43, 43, 43, 0.14)); padding: 22px 20px;
  color: var(--ink);
}
.notice-close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink);
}
.notice-image {
  display: block; width: calc(100% + 40px); margin: -22px -20px 16px; max-height: 280px;
  object-fit: cover; border-radius: var(--radius-lg, 22px) var(--radius-lg, 22px) 0 0;
}
.notice-image[hidden] { display: none; }
.notice-title { font-family: var(--font-display); font-size: 21px; margin: 0 0 10px; line-height: 1.25; }
.notice-body { font-size: 14.5px; line-height: 1.55; }
.notice-body p { margin: 0 0 10px; }
.notice-body ul, .notice-body ol { margin: 0 0 10px; padding-left: 20px; }
.notice-body a { color: var(--accent-text); text-decoration: underline; font-weight: 600; }
.notice-copy {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 6px;
  background: var(--sand); border: 1.5px dashed var(--olive); border-radius: var(--radius-md, 14px); padding: 10px 12px;
}
.notice-copy[hidden] { display: none; }
.notice-copy__text { flex: 1 1 140px; font-size: 16px; font-weight: 800; letter-spacing: 0.03em; word-break: break-all; }
.notice-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  border: none; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700;
  font-family: inherit; text-decoration: none; text-align: center;
}
.notice-btn[hidden] { display: none; }
.notice-btn--copy { background: var(--olive); color: #fff; }
.notice-btn--copy.is-done { background: var(--olive-dark); }
.notice-btn--link { background: var(--terracotta); color: #fff; width: 100%; margin-top: 12px; }
.notice-chip {
  position: fixed; left: 14px; bottom: 18px; z-index: 90; background: var(--olive); color: #fff; border: none;
  border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 13px; font-family: inherit;
  box-shadow: 0 4px 14px rgba(43, 43, 43, 0.28); cursor: pointer;
}
.notice-chip[hidden] { display: none; }
body.notice-open { overflow: hidden; }


/* ---------- Central de avisos (lista de avisos com data) ---------- */
.notice-center { max-width: 480px; display: flex; flex-direction: column; overflow: hidden; }
.notice-list { position: relative; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; flex: 1 1 auto; padding-bottom: 2px; }
.notice-center > .notice-title { padding-right: 34px; margin-bottom: 12px; }
.notice-list { display: flex; flex-direction: column; gap: 10px; }
.notice-item { border: 1.5px solid var(--line); border-radius: var(--radius-md, 14px); background: #fff; overflow: hidden; }
.notice-item.is-open { border-color: var(--olive); }
.notice-item.is-test { border-style: dashed; border-color: var(--terracotta); }
.notice-item__head {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; width: 100%;
  text-align: left; background: transparent; border: none; padding: 11px 14px; cursor: pointer;
  font-family: inherit; color: var(--ink);
}
.notice-item__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.notice-date { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.notice-new { background: var(--terracotta); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; letter-spacing: 0.04em; }
.notice-new[hidden] { display: none; }
.notice-item__title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.notice-item__chev { color: var(--ink-soft); transition: transform 0.2s ease; }
.notice-item.is-open .notice-item__chev { transform: rotate(180deg); }
.notice-item__content { padding: 0 14px 14px; }
.notice-item__content[hidden] { display: none; }
.notice-item__content .notice-image { width: 100%; margin: 0 0 12px; border-radius: 12px; max-height: 300px; }
.notice-chip__badge {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 999px; background: var(--terracotta); color: #fff; font-size: 11px; font-weight: 800; text-align: center;
}
.notice-chip__badge[hidden] { display: none; }

/* Vídeo nos cards da Vitrine: mesmo tamanho da foto, toca sozinho e mudo quando aparece na tela */
.post-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; pointer-events: none; transition: opacity .2s; }
.post-card__video.is-ready { opacity: 1; }
.post-card__sound { position: absolute; right: 52px; bottom: 10px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(43, 43, 43, 0.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.post-card__playhint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(43, 43, 43, 0.55); color: #fff; display: grid; place-items: center; font-size: 18px; pointer-events: none; transition: opacity .2s; }
.post-card__media.is-playing .post-card__playhint { opacity: 0; }

/* Cupons no topo da vitrine */
.coupons-strip { max-width: 1100px; margin: 0 auto 18px; padding: 0 16px; }
.coupons-strip__title { margin: 0 0 10px; font-size: 15px; font-weight: 700; text-align: center; }
.coupons-strip__row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.coupons-strip__row::-webkit-scrollbar { height: 6px; }
.coupons-strip__row::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }
.coupon-card { flex: 0 0 auto; width: 230px; scroll-snap-align: start; background: #fff; border: 1.5px dashed var(--olive, #5c5a3f); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.coupons-strip__row:has(.coupon-card:only-child) { justify-content: center; }
.coupon-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; background: var(--sand, #f3ead8); }
.coupon-card__store { font-weight: 700; font-size: 14px; }
.coupon-card__desc { font-size: 12.5px; color: #6b6a55; }
.coupon-card__code code { display: inline-block; background: var(--olive-soft, #eeeadb); padding: 6px 12px; border-radius: 8px; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.coupon-card__actions { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.coupon-card__copy, .coupon-card__go { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.coupon-card__copy { background: var(--olive, #5c5a3f); color: #fff; }
.coupon-card__copy.is-done { background: #2f7d4a; }
.coupon-card__go { background: var(--olive-soft, #eeeadb); color: inherit; }
.coupon-card__validity { font-size: 11.5px; color: #6b6a55; }
.coupon-card__validity.is-urgent { color: #b3462c; font-weight: 700; }

/* tag do marketplace numa linha própria, acima do ícone de compartilhar */
.card-actions { display: grid; grid-template-columns: auto; justify-content: center; grid-template-areas: "store" "share"; align-items: center; row-gap: 8px; margin-top: auto; margin-bottom: 8px; }
.card-actions__store { grid-area: store; display: flex; justify-content: center; min-width: 0; }
.card-actions__store:empty { display: none; }
.card-actions .card-share-btn { grid-area: share; justify-self: center; }
.card-actions .store-tag { margin: 0; }
.card-share-btn { position: static; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--accent-text, #47542e); cursor: pointer; box-shadow: none; display: grid; place-items: center; padding: 0; font-size: 19px; line-height: 1; }
.card-share-btn svg { width: 17px; height: 17px; }
.card-share-btn:hover { border-color: var(--olive); background: var(--olive-soft); }
.card-actions + .post-card__cta { margin-top: 0; }

/* "Não encontrou um produto? Fale com a gente no WhatsApp" */
.help-whatsapp { max-width: 720px; margin: 28px auto 8px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-lg, 22px); box-shadow: var(--shadow-card); }
.help-whatsapp__text { flex: 1 1 280px; display: grid; gap: 2px; font-size: 14.5px; line-height: 1.4; }
.help-whatsapp__text span { color: var(--ink-soft); }
.help-whatsapp .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .help-whatsapp { margin: 22px 16px 6px; text-align: center; } .help-whatsapp .btn { width: 100%; justify-content: center; } }

/* ---------- Celular: topo compacto (os produtos aparecem sem rolar duas telas) ---------- */
@media (max-width: 899px) {
  .profile-header { padding: 64px 18px 26px; } /* abaixo dos botões fixos (menu e sininho), que antes cobriam o começo da frase */
  .profile-header h1 { font-size: clamp(23px, 6.4vw, 29px); line-height: 1.28; margin: 0; }
  .profile-identity { margin-top: -30px; padding-bottom: 8px; }
  .avatar-frame { width: 76px; height: 76px; margin-bottom: 6px; }
  .profile-identity h2 { font-size: 18px; }
  .profile-actions { margin-top: 8px; }
  .profile-intro { margin-top: 8px; font-size: 12.5px; line-height: 1.5; }
}

/* ---------- Celular: título do cartão pode ter 3 linhas (nada de "…") ---------- */
@media (max-width: 759px) {
  .post-card__title { -webkit-line-clamp: 3; min-height: 0; }
  .album-gallery { scrollbar-width: none; }
  .album-gallery::-webkit-scrollbar { display: none; }
  body:has(.floating-music-player) { padding-bottom: 72px; }
}

/* Dica logo abaixo da fileira de fotos */
.gallery-hint { margin: -10px 0 18px; font-size: 11.5px; color: var(--ink-soft); text-align: center; }
@media (min-width: 760px) { .gallery-hint { display: none; } }

/* Menu da vitrine: "Ativar notificações" discreto (texto pequeno, sem barra de cor, mesmo quando ativado) */
.public-sidebar__link--push,
.public-sidebar__link--push.is-active {
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  opacity: 0.85;
}
.public-sidebar__link--push .public-sidebar__icon svg { width: 14px; height: 14px; }
.public-sidebar__link--push:hover { background: transparent; color: var(--accent-text); opacity: 1; text-decoration: underline; }

/* Sininho de notificações: DENTRO do menu lateral, na linha do botão que abre/fecha (o botão antigo da lista fica escondido) */
.public-sidebar__link--push { display: none !important; }
.public-push-bell {
  position: absolute;
  top: 16px;
  right: 16px; /* ponta direita do menu, na linha do botão que abre/fecha */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.public-push-bell[hidden] { display: none; }
.public-push-bell__circle { pointer-events: none; box-shadow: var(--shadow-card); }
.public-push-bell__label { font-size: 9.5px; line-height: 1; font-weight: 600; color: var(--accent-text); }
.public-push-bell.is-active .public-push-bell__circle { background: var(--olive); color: var(--on-olive); }

/* Compartilhar a vitrine: fixo no topo, na mesma linha do botão de menu, na ponta direita */
.public-share-fixed { position: fixed; top: 16px; right: 16px; z-index: 70; }
/* barra de ícones sem nada dentro (música desligada) some */
.sticky-nav__icons:not(:has(*)) { display: none; }

/* Página do post: o botão de menu fixo não cobre mais o "Voltar para a vitrine" */
.album-header { padding-left: 68px; }

/* ---------- Abas sempre à vista (pílulas) ---------- */
.tab-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 980px;
  margin: 4px auto 14px;
  padding: 2px 20px 6px;
}
.tab-pills::-webkit-scrollbar { display: none; }
.tab-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  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: 13.5px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.tab-pill__icon { display: inline-flex; }
.tab-pill__icon svg { width: 16px; height: 16px; }
.tab-pill:hover { border-color: var(--olive); color: var(--accent-text); }
.tab-pill.is-active { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
@media (min-width: 900px) { .tab-pills { justify-content: center; } }

/* ---------- Vitrines temáticas: abas dentro da aba Vitrine ---------- */
.theme-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center;
  max-width: 1100px; margin: 0 auto 14px; padding: 0 16px;
}
.theme-tabs[hidden] { display: none; }
.theme-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; border: 1.5px dashed var(--olive);
  background: transparent; color: var(--accent-text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.theme-pill:hover { background: var(--olive-soft); }
.theme-pill .count { background: rgba(95, 111, 63, 0.14); border-radius: 999px; padding: 0 7px; font-size: 11.5px; }
.theme-pill.is-active { background: var(--terracotta); border: 1.5px solid var(--terracotta); color: #fff; }
.theme-pill.is-active .count { background: rgba(255, 255, 255, 0.25); }
/* Cabeçalho da aba de uma vitrine temática: quantos achados e o botão de compartilhar a vitrine */
.theme-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; padding: 0 4px 6px; }
.theme-head__text { font-size: 14px; color: var(--ink-soft); }
.theme-head__text strong { color: var(--ink); font-family: var(--font-display, inherit); font-size: 16px; }
.theme-share {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; border: 1.5px solid var(--olive); background: var(--olive); color: var(--on-olive);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.theme-share svg { width: 16px; height: 16px; flex-shrink: 0; }
.theme-share:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.theme-share[hidden] { display: none; }


/* ---------- Botão do menu com a palavra "Menu" ---------- */
.public-sidebar-toggle { width: auto; padding: 0 14px 0 12px; gap: 7px; border-radius: 999px; }
.public-sidebar-toggle__label { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--accent-text); line-height: 1; }
.album-header { padding-left: 112px; }

/* ---------- Dica de primeira visita apontando pro menu ---------- */
.menu-hint {
  position: fixed;
  top: 68px;
  left: 16px;
  z-index: 66;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #47542e;
  color: #fffcf6;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
  cursor: pointer;
}
.menu-hint::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
}
.menu-hint.is-on { opacity: 1; transform: none; }
.menu-hint.is-hiding { opacity: 0; transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .menu-hint { transition: none; } }

/* ---------- Faixa verde do topo ao rolar (destaca menu e compartilhar) ---------- */
.public-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 64;
  background: linear-gradient(160deg, var(--olive) 0%, var(--olive-dark) 100%);
  box-shadow: 0 2px 12px rgba(30, 26, 20, 0.22);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
body.is-scrolled .public-topbar { opacity: 1; transform: none; }
/* a barra de busca fixa passa a grudar logo abaixo da faixa */
.sticky-nav { top: 64px; }
@media (prefers-reduced-motion: reduce) { .public-topbar { transition: none; } }

/* Página do post: o botão de compartilhar também fica fixo no topo, junto da faixa verde ao rolar */
.album-header { min-height: 72px; }
.album-header .content-share { position: fixed; top: 16px; right: 16px; z-index: 70; }

/* Explicação do sininho quando o aparelho não recebe notificação */
.push-help { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(30, 26, 20, 0.5); }
.push-help__box { width: min(92vw, 380px); background: var(--cream); border-radius: 18px; padding: 22px 20px 18px; box-shadow: var(--shadow-pop); text-align: left; }
.push-help__box h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.push-help__box p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.push-help__box .btn { width: 100%; justify-content: center; }
.push-help__box .btn { background: var(--olive); color: var(--on-olive); border: 0; padding: 12px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* Convite do sininho: passos, rótulos e botões */
.push-help__steps { margin: 0 0 14px; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.push-help__steps li { margin-bottom: 6px; }
.push-help__label { margin: 4px 0 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.push-help__ok { font-weight: 700; color: var(--accent-text); }
.push-help__box .push-help__btn { display: flex; width: 100%; justify-content: center; margin-bottom: 8px; }
.push-help__box .push-help__btn--ghost { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line); font-weight: 600; }

/* "Quem sou eu": o banner precisa de espaço embaixo pra foto não cobrir a frase (o topo compacto do celular não vale aqui) */
@media (max-width: 899px) {
  .profile-header.about-header { padding: 64px 18px 76px; }
}

/* Aviso de links de afiliado: só no rodapé, pequeno mas legível (a Amazon exige divulgação clara) */
.site-footer__aff { margin: 6px auto 0 !important; max-width: 560px; padding: 0 20px; font-size: 11px; line-height: 1.5; letter-spacing: .01em; color: var(--ink-soft); opacity: .85; }

/* =========================================================
   Curadoria — barra do topo com logotipo + página Início
   ========================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* barra fina sempre à vista (antes só aparecia ao rolar); o conteúdo começa logo abaixo dela */
body:has(.public-topbar) { padding-top: 64px; }
.public-topbar { opacity: 1; transform: none; display: flex; align-items: center; justify-content: center; box-shadow: none; transition: box-shadow 0.2s ease; }
body.is-scrolled .public-topbar { box-shadow: 0 2px 12px rgba(30, 26, 20, 0.22); }
.public-sidebar-toggle, .public-share-fixed { top: 12px; }
.menu-hint { top: 64px; }

/* logotipo: "GARIMPOS DA BIA" espaçado, com "Curadoria Casa e Decoração" embaixo */
.brand-logo {
  pointer-events: auto; display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  color: var(--on-olive); text-decoration: none; font-family: "Josefin Sans", var(--font-body);
}
.brand-logo b { font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; padding-left: 0.14em; font-size: clamp(9px, 2.8vw, 18px); }
.brand-logo small { font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; padding-left: 0.3em; margin-top: 5px; font-size: clamp(6px, 1.7vw, 8.5px); opacity: 0.85; }
@media (min-width: 560px) { .brand-logo b { letter-spacing: 0.28em; padding-left: 0.28em; } .brand-logo small { letter-spacing: 0.38em; padding-left: 0.38em; } }
/* a palavra MENU fica sempre visível, para destacar que é ali que abre o menu */
.public-sidebar-toggle__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
@media (max-width: 400px) { .public-sidebar-toggle { padding: 0 11px 0 9px; gap: 5px; } .public-sidebar-toggle__label { font-size: 11px; letter-spacing: 0.05em; } }

/* a busca some ao rolar para baixo e volta ao rolar para cima */
.sticky-nav { transition: transform 0.25s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.sticky-nav.is-away { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .sticky-nav { transition: none; } }

/* ---------- Início ---------- */
.home-panel { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.home-panel[hidden] { display: none; }
.home-sec { margin-top: 30px; }
.home-sec:first-child { margin-top: 18px; }
.home-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.home-head h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin: 0; color: var(--ink); }
.home-head a { font-size: 13px; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 3px; white-space: nowrap; }
.home-grid.posts-grid { padding: 0; }

.home-intro { display: flex; align-items: center; gap: 22px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.home-intro .avatar-frame { flex: 0 0 auto; margin: 0; width: 112px; height: 112px; }
.home-intro__text { min-width: 0; }
.home-intro__text h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; color: var(--ink); }
.home-intro__text p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.home-intro__text p strong { color: var(--terracotta-dark); }
@media (max-width: 560px) { .home-intro { flex-direction: column; text-align: center; } .home-intro .avatar-frame { width: 96px; height: 96px; } }

.home-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.home-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 18px 12px 16px; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: border-color 0.15s ease, background-color 0.15s ease; }
.home-tile:hover { border-color: var(--olive); background: var(--olive-soft); }
.home-tile__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.home-tile__n { font-size: 12px; color: var(--ink-soft); }

.home-themes { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.home-theme {
  flex: 0 0 auto; width: 210px; height: 128px; border-radius: var(--radius-md); background: var(--olive) center / cover no-repeat;
  color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px 14px; scroll-snap-align: start; box-shadow: var(--shadow-card);
}
.home-theme__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.home-theme__n { font-size: 12px; opacity: 0.9; }

.home-invite { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--olive); color: var(--on-olive); border-radius: var(--radius-lg); padding: 20px 22px; }
.home-invite p { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.35; max-width: 34ch; }
.home-sec--cupons .coupons-strip { margin: 0; padding: 0; }
.home-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); transition: background-color 0.15s ease, color 0.15s ease; }
.home-tile__icon .ambiente-icon { width: 28px; height: 28px; }
.home-tile:hover .home-tile__icon { background: var(--olive); color: var(--on-olive); }

/* ---------- Banners da Início ---------- */
.home-banners { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--olive-soft); box-shadow: var(--shadow-card); aspect-ratio: 16 / 5; }
.home-banner { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
.home-banner.is-active { opacity: 1; visibility: visible; }
.home-banner__link { display: block; width: 100%; height: 100%; }
.home-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-banners__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.home-banners__dot { pointer-events: auto; width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(30, 26, 20, 0.25); cursor: pointer; }
.home-banners__dot.is-on { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) { .home-banners { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .home-banner { transition: none; } }

/* ---------- Dúvidas frequentes ---------- */
.home-faq { display: flex; flex-direction: column; gap: 8px; max-width: 780px; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 16px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-size: 20px; line-height: 1; color: var(--olive); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-item__a { padding: 0 16px 16px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.faq-item__a p { margin: 0 0 12px; }
.faq-item__a a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 3px; }
.home-sec--faq { scroll-margin-top: 140px; }

/* ---------- Pop-up em selo redondo + botão "?" (dúvidas), no canto da tela ---------- */
.gb-pop { position: fixed; right: 16px; bottom: 28px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.gb-pop[hidden] { display: none; }
.gb-pop__x { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; }
.gb-pop__badge {
  width: 104px; height: 104px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center;
  background: var(--olive); color: var(--on-olive); box-shadow: 0 8px 22px rgba(30, 26, 20, 0.28);
  animation: gb-pop-in 0.45s cubic-bezier(.2, 1.3, .4, 1) both;
}
.gb-pop__badge small { font-family: "Josefin Sans", var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; padding-left: 0.22em; opacity: 0.9; }
.gb-pop__badge strong { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 19px; line-height: 1.05; max-width: 86px; overflow-wrap: anywhere; }
.gb-pop__link { display: block; text-decoration: none; color: inherit; }
.gb-pop__cta { display: block; margin-top: 3px; font-style: normal; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9; }
.gb-pop__aff-note { font-family: var(--font-body); font-size: 9.5px; letter-spacing: 0.04em; color: var(--ink-soft); background: var(--cream); border-radius: 999px; padding: 1px 8px; margin-top: 3px; }
.gb-pop__badge:focus-visible, .gb-faq-btn:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.gb-pop__card {
  position: absolute; right: 0; bottom: calc(100% + 8px); width: min(290px, calc(100vw - 32px));
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 16px 16px 14px; box-shadow: var(--shadow-pop);
}
.gb-pop__card[hidden] { display: none; }
.gb-pop__kicker { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.gb-pop__text { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.gb-pop__code { margin: 0 0 12px; text-align: center; }
.gb-pop__code code { display: inline-block; padding: 7px 14px; border: 1.5px dashed var(--olive); border-radius: 10px; background: var(--olive-soft); color: var(--accent-text); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.gb-pop__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gb-pop__btn { flex: 1 1 auto; display: inline-flex; justify-content: center; align-items: center; padding: 10px 14px; border: 1.5px solid var(--olive); border-radius: 999px; background: var(--olive); color: var(--on-olive); font-family: var(--font-body); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.gb-pop__btn--ghost { background: transparent; color: var(--accent-text); }
.gb-pop__btn--wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #0e3d20; }
.gb-pop__aff { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
@keyframes gb-pop-in { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }

.gb-faq-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--terracotta-dark); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1; box-shadow: 0 8px 22px rgba(30, 26, 20, 0.28);
}
.gb-faq-btn:hover { background: var(--terracotta); }
/* o "voltar ao topo" fica no canto ESQUERDO de baixo, para não disputar espaço com o "?" e o pop-up de cupons (ambos à direita) */
.back-to-top-btn, body:has(.gb-faq-btn) .back-to-top-btn { left: 16px; right: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
/* só na página inicial: sem a seta de voltar ao topo */
body[data-tab="home"] .back-to-top-btn { display: none !important; }

.faq-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 26, 20, 0.5); }
.faq-modal[hidden] { display: none; }
.faq-modal__box { position: relative; width: min(560px, 100%); max-height: 84vh; overflow-y: auto; background: var(--sand); border-radius: var(--radius-lg); padding: 22px 18px 18px; box-shadow: var(--shadow-pop); }
.faq-modal__box h2 { margin: 0 34px 14px 2px; font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.faq-modal__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 15px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .gb-pop__badge { animation: none; } }

/* Vitrine no menu lateral: botão que expande e recolhe os departamentos */
.public-sidebar__expand { flex: 0 0 38px; width: 38px; display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); color: var(--accent-text); border-radius: 12px; }
.public-sidebar__expand:hover { border-color: var(--olive); background: var(--olive-soft); }
.public-sidebar__expand svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.public-sidebar__expand.is-open svg { transform: rotate(180deg); }
.public-sidebar__sub[hidden] { display: none; }

/* o rodapé nunca fica escondido atrás do "?" nem do pop-up, mesmo em janelas baixas */
body .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.gb-faq-btn { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

/* toque pessoal da curadoria: "Por que eu indico" e selo "Tenho em casa"/"Testei" */
.post-card__why { margin: 4px 0 0; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--terracotta-dark); }
.post-card__why span { margin-right: 2px; }
.post-card__own { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 252, 245, 0.94); color: var(--olive-dark, var(--olive)); border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(30, 26, 20, 0.14); }
.post-curation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 10px; }
.post-curation__own { padding: 4px 10px; border-radius: 999px; background: var(--olive-soft, #e7ecd9); color: var(--olive-dark, var(--olive)); border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.post-curation__why { font-size: 15px; font-weight: 600; color: var(--terracotta-dark); }

/* Carta da semana (página inicial) */
.home-carta { padding: 22px 20px; border: 1.5px solid var(--line); border-radius: var(--radius-lg, 20px); background: var(--cream); box-shadow: var(--shadow-card); }
.home-carta__kicker { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-dark); }
.home-carta__text { font-family: var(--font-display); font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: var(--ink); max-width: 62ch; }
.home-carta__sign { margin: 10px 0 0; font-family: var(--font-display); font-style: italic; color: var(--olive-dark, var(--olive)); }
.home-carta__grid { margin-top: 16px; }

/* "Testados por mim": frase de abertura da aba */
.testados-intro { margin: 0 0 4px; padding: 12px 16px; border-radius: var(--radius-lg, 16px); background: var(--olive-soft, #eef0e0); color: var(--ink-soft, #5b5a45); font-size: 14px; line-height: 1.5; }
.testados-intro p { margin: 0; }

/* Botão "Ouvir" do áudio do "Por que eu indico" */
.why-audio { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; border: 1.5px solid var(--olive, #5f6f3f); background: transparent; color: var(--olive-dark, #4a5530); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.why-audio__icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--olive, #5f6f3f); color: #fff; font-size: 9px; padding-left: 1px; }
.why-audio.is-playing { background: var(--olive-soft, #eef0e0); }
.why-audio.is-playing .why-audio__icon { padding-left: 0; }
.post-curation .why-audio { margin-top: 0; margin-left: 4px; }

/* "Comece por aqui" (pop-up de boas-vindas): usa a janela das dúvidas, com folga em volta para tocar fora e fechar */
.gb-start { padding: 24px 16px; }
.gb-start__box { position: relative; overflow: hidden; padding: 0; text-align: center; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
.gb-start__scroll { overflow-y: auto; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); padding: 22px 20px 26px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.gb-start__scroll::-webkit-scrollbar { display: none; }
.gb-start__arrow { position: absolute; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; padding: 0; border: 1px solid rgba(43, 43, 43, 0.12); border-radius: 50%; background: rgba(255, 252, 246, 0.88); color: var(--olive-dark, #4a5530); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(43, 43, 43, 0.14); z-index: 2; }
.gb-start__arrow[hidden] { display: none; }
.gb-start__arrow--down { bottom: 8px; animation: gbStartNudge 1.8s ease-in-out infinite; }
.gb-start__arrow--up { top: 8px; }
@keyframes gbStartNudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 3px); } }
@media (prefers-reduced-motion: reduce) { .gb-start__arrow--down { animation: none; } }
.gb-start__box h2 { margin: 6px 0 8px; font-size: 24px; }
.gb-start__avatar { display: inline-block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--cream); box-shadow: 0 2px 10px rgba(43, 43, 43, 0.18); }
.gb-start__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb-start__text { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.5; font-size: 15px; }
.gb-start__steps { list-style: none; counter-reset: gbstep; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; text-align: left; }
.gb-start__steps li { counter-increment: gbstep; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; background: var(--cream); border-radius: 12px; padding: 9px 12px; }
.gb-start__steps li::before { content: counter(gbstep); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--olive); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.gb-start__group { margin: 0 0 12px; padding: 12px; border-radius: 14px; background: var(--olive-soft, #eef0e0); display: grid; gap: 8px; justify-items: center; }
.gb-start__group p { margin: 0; font-size: 14px; color: var(--ink); }
.gb-start__close { border: 0; background: none; color: var(--olive-dark, #4a5530); font: inherit; font-weight: 700; font-size: 14.5px; padding: 8px 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
body.gb-start-open .gb-pop, body.gb-start-open .gb-faq-btn, body.gb-start-open .back-to-top-btn { display: none !important; }

/* Dúvidas frequentes: mesma rolagem sem barra, com setinhas (usa as peças do "Comece por aqui") */
.gb-arrowbox { position: relative; overflow: hidden; padding: 0; max-height: 84vh; max-height: 84dvh; }
.gb-arrowbox .gb-start__scroll { max-height: 84vh; max-height: 84dvh; padding: 22px 18px 28px; text-align: left; }
.gb-arrowbox .gb-start__scroll h2 { margin: 0 34px 14px 2px; font-family: var(--font-display); font-size: 22px; color: var(--ink); }

/* Fecho do menu lateral: a logo em texto no pé, para mostrar que o menu terminou */
.public-sidebar__end { margin-top: auto; padding: 26px 16px calc(30px + env(safe-area-inset-bottom, 0px)); text-align: center; flex: none; }
.public-sidebar__end { padding-top: 14px; }
.public-sidebar__end::before { content: ""; display: block; height: 1px; margin: 0 22px 24px; background: var(--line); } /* mesma linha que separa as seções do menu */
.public-sidebar__end .brand-logo { color: var(--olive-dark, #4a5530); pointer-events: none; }
.public-sidebar__end .brand-logo b { font-size: 14px; letter-spacing: 0.28em; padding-left: 0.28em; }
.public-sidebar__end .brand-logo small { font-size: 7.5px; letter-spacing: 0.38em; padding-left: 0.38em; opacity: 0.8; }

/* Botões do menu lateral "levantam" ao passar o cursor (só em telas com mouse) */
.public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push),
.public-sidebar__row .public-sidebar__link, .public-sidebar__share {
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) {
  .public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push):hover,
  .public-sidebar__row .public-sidebar__link:hover, .public-sidebar__share:hover {
    transform: translateY(-2px); box-shadow: 0 6px 14px rgba(60, 66, 40, 0.18);
  }
  .public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push):active,
  .public-sidebar__row .public-sidebar__link:active, .public-sidebar__share:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(60, 66, 40, 0.18); }
}

/* Busca com sugestões enquanto digita (produtos, ambientes e departamentos da vitrine) */
.search-bar { position: relative; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 6px; max-height: min(60vh, 380px); overflow-y: auto; text-align: left; }
.search-suggest[hidden] { display: none; }
.search-suggest__head { margin: 6px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.search-suggest__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.search-suggest__item:hover, .search-suggest__item.is-sel { background: var(--olive-soft); }
.search-suggest__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest__meta { flex: none; font-size: 12px; color: var(--ink-soft); }

/* Botões e quadros "vivos": sobem um pouco ao passar o cursor (só com mouse), para ficar claro que dá para clicar */
.post-card__cta, .home-tile, .home-theme, .category-pill, .card-share-btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
@media (hover: hover) {
  .post-card__cta:hover, .category-pill:hover, .card-share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(60, 66, 40, 0.2); }
  .home-tile:hover, .home-theme:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
  .post-card__cta:active, .category-pill:active, .card-share-btn:active, .home-tile:active, .home-theme:active { transform: none; box-shadow: none; }
}

/* Fundo suave que brilha de leve enquanto a foto do cartão carrega; a foto aparece com um fade */
.post-card__media[data-fade] img { opacity: 0; transition: opacity 0.4s ease; }
.post-card__media[data-fade].is-ready img { opacity: 1; }
.post-card__media[data-fade]:not(.is-ready) {
  background: linear-gradient(100deg, var(--olive-soft) 30%, rgba(255, 255, 255, 0.6) 50%, var(--olive-soft) 70%);
  background-size: 220% 100%; animation: gbShimmer 1.5s linear infinite;
}
@keyframes gbShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .post-card__media[data-fade]:not(.is-ready) { animation: none; } .post-card__media[data-fade] img { transition: none; } }

/* Vitrine geral: o botão "Filtrar" não aparece mais (o filtro é o departamento do menu); a faixa abaixo mostra o filtro ativo */
.tab-toolbar[data-category-toolbar] { display: none !important; }
.active-filters { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 14px; border-radius: 12px; background: var(--olive-soft); color: var(--ink); font-size: 13.5px; }
.active-filters[hidden] { display: none; }
.active-filters button { flex: none; border: 1px solid var(--line); background: var(--cream); color: var(--olive-dark); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }

/* Menu lateral: Vitrine expande em Departamentos e Ambientes (cada título separa o seu grupo) */
.public-sidebar__subhead { margin: 8px 0 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.public-sidebar__subhead:first-child { margin-top: 2px; }
.public-sidebar__sublink.is-active { background: var(--olive); color: var(--on-olive); }

/* Aba "Ambientes" do menu lateral: botão que abre/fecha a lista (mesmo desenho dos outros botões) */
.public-sidebar__link--toggle { width: 100%; text-align: left; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: inherit; }
.public-sidebar__chev { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; color: var(--ink-soft); }
.public-sidebar__chev svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.public-sidebar__link--toggle[aria-expanded="true"] .public-sidebar__chev svg { transform: rotate(180deg); }

/* A setinha da Vitrine faz parte do botão (mesmo desenho da aba Ambientes) */
.public-sidebar__link .public-sidebar__chev[data-deps-toggle] { cursor: pointer; border-radius: 8px; }
.public-sidebar__link .public-sidebar__chev[data-deps-toggle]:hover { background: rgba(0, 0, 0, 0.06); }
.public-sidebar__link .public-sidebar__chev[data-deps-toggle][aria-expanded="true"] svg { transform: rotate(180deg); }
.public-sidebar__link.is-active .public-sidebar__chev { color: inherit; }

/* Tour guiado */
.gb-tour { position: fixed; inset: 0; z-index: 130; }
.gb-tour__hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 100vmax rgba(20, 22, 16, 0.64); outline: 2px solid rgba(255, 252, 246, 0.9); pointer-events: none; transition: left 0.25s ease, top 0.25s ease, width 0.25s ease, height 0.25s ease; }
.gb-tour__card { position: fixed; background: var(--cream); color: var(--ink); border-radius: 16px; padding: 14px 16px 12px; box-shadow: var(--shadow-pop); }
.gb-tour__text { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; }
.gb-tour__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gb-tour__n { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.gb-tour__btns { display: flex; gap: 6px; align-items: center; }
.gb-tour__btns button { font: inherit; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 14px; cursor: pointer; border: 1.5px solid var(--olive); background: transparent; color: var(--olive-dark); }
.gb-tour__btns .gb-tour__next { background: var(--olive); color: #fff; }
.gb-tour__btns .gb-tour__skip { border-color: transparent; color: var(--ink-soft); padding-inline: 8px; }
.gb-tour__btns [hidden] { display: none; }
body.gb-tour-open .back-to-top-btn { display: none !important; }
.gb-start__tour { margin: 0 auto 8px; display: flex; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .gb-tour__hole { transition: none; } }

/* Convite para guardar a vitrine no celular */
.gb-install { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; display: flex; gap: 12px; align-items: flex-start; max-width: 460px; margin: 0 auto; background: var(--cream); color: var(--ink); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-pop); }
.gb-install__icon { border-radius: 11px; flex: none; }
.gb-install__body { min-width: 0; }
.gb-install__text { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.gb-install__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gb-install__btns button { font: inherit; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 16px; cursor: pointer; border: 1.5px solid var(--olive); background: transparent; color: var(--olive-dark); }
.gb-install__btns .gb-install__go { background: var(--olive); color: #fff; }
.gb-install__btns .gb-install__no { border-color: transparent; color: var(--ink-soft); }
body.gb-tour-open .gb-install { display: none; }

/* Seções do menu lateral */
.public-sidebar__section { margin: 10px 12px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.8; }
.public-sidebar__nav > .public-sidebar__section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.gb-install__steps { margin: 0 0 10px; padding: 8px 10px; border-radius: 12px; background: var(--olive-soft); font-size: 13px; line-height: 1.4; }
.gb-install__steps b { color: var(--olive-dark); }

/* Dica montada em blocos (artigo) */
.dica-article { display: flex; flex-direction: column; gap: 18px; max-width: 680px; margin: 0 auto; }
.dica-hero, .dica-photo { margin: 0; }
.dica-hero img, .dica-photo img { width: 100%; height: auto; border-radius: 18px; display: block; cursor: zoom-in; }
.dica-photo figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.dica-text { font-size: 16.5px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.dica-text > :first-child { margin-top: 0; } .dica-text > :last-child { margin-bottom: 0; }
.dica-text p { margin: 0 0 1em; }
.dica-text h2 { font-family: var(--font-display, inherit); font-size: 24px; line-height: 1.25; margin: 1.2em 0 .4em; }
.dica-text h3 { font-size: 19px; margin: 1em 0 .3em; }
.dica-text ul, .dica-text ol { padding-left: 22px; margin: 0 0 1em; } .dica-text li { margin: 0 0 .35em; }
.dica-text a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.dica-text blockquote { margin: 1em 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--olive); color: var(--ink-soft); }
.dica-gallery--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dica-gallery--grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; cursor: zoom-in; }
.dica-gallery--slide { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.dica-gallery--slide img { flex: 0 0 82%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; scroll-snap-align: center; cursor: zoom-in; }
.dica-product { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.7); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.dica-product:hover { border-color: var(--olive); transform: translateY(-2px); }
.dica-product__img { flex: 0 0 92px; } .dica-product__img img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; display: block; }
.dica-product__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dica-product__title { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.dica-product__note { font-size: 14px; color: var(--ink-soft); }
.dica-product__cta { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--accent-text); }
.dica-button-wrap { margin: 0; text-align: center; }
.dica-button { display: inline-block; padding: 13px 26px; border-radius: 999px; background: var(--olive); color: var(--on-olive); font-weight: 700; text-decoration: none; }
.dica-quote { margin: 0; padding: 18px 20px; border-radius: 18px; background: var(--olive-soft); }
.dica-quote p { margin: 0; font-size: 19px; line-height: 1.5; font-style: italic; }
.dica-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; font-weight: 700; color: var(--ink-soft); }
.dica-sep { border: 0; border-top: 1.5px solid var(--line); margin: 6px 0; width: 100%; }

.dica-audio, .dica-video { margin: 0; }
.dica-audio { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.7); }
.dica-audio figcaption { font-weight: 700; margin: 0 0 8px; }
.dica-audio audio { width: 100%; }
.dica-video video { width: 100%; border-radius: 18px; background: #000; display: block; }
.dica-video figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-soft); text-align: center; }
/* Dica da semana no Início: o cartão ocupa a largura toda */
.home-dica .post-card { grid-column: 1 / -1; }
.home-dica .post-card__media { aspect-ratio: 16 / 10; }
.home-dica .post-card__media img { height: 100%; object-fit: cover; }

/* ---------- Curadoria como segunda vitrine: selo da loja, ações na foto, preços, balão do comentário ---------- */
/* Selo da loja (os mesmos ícones do Acervo): quadrado branco que sai um pouco para fora do canto do card. */
.post-card.has-selo { position: relative; overflow: visible; }
.post-card.has-selo .post-card__media { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.post-card.has-selo .post-card__body { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.loja-selo { position: absolute; top: -10px; left: -8px; z-index: 5; width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 3px 9px rgba(0,0,0,.16); display: grid; place-items: center; pointer-events: none; }
.loja-selo img { width: 26px; height: 26px; object-fit: contain; }
.has-selo .post-card__code { top: 46px; left: 10px; }
.vitrine-card { margin-top: 10px; }

/* Curtir, compartilhar e trocar a foto: coluna no canto superior direito da foto. */
.card-fotoacoes { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; flex-direction: column; gap: 6px; }
.card-fotoacoes .card-share-btn, .card-fotoacoes .card-camera {
  position: static; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #5b574a;
  box-shadow: 0 1px 6px rgba(0,0,0,.18); display: grid; place-items: center; padding: 0; cursor: pointer; font-size: 0;
}
.card-fotoacoes .card-share-btn svg, .card-fotoacoes .card-camera svg { width: 17px; height: 17px; }
.card-camera { outline: 2px dashed var(--olive); outline-offset: 2px; }
.card-camera.is-busy { opacity: .5; pointer-events: none; }
/* o NOVO e o Fixado saem do canto direito (agora das ações): NOVO ao lado do selo da loja, Fixado embaixo à direita */
.vitrine-card .post-card__new { right: auto; left: 36px; }
.vitrine-card .post-card__pin { top: auto; bottom: 10px; right: 10px; }

/* Indisponível: tag simples sobre a foto. */
.card-indisp { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: rgba(30, 28, 20, .78); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.is-indisp .post-card__urgency { bottom: 44px; }
.is-indisp .post-card__media img { filter: grayscale(.35); opacity: .88; }

/* Preços: o anterior riscado em cima, o atual embaixo e o Pix numa tag verde ao lado. */
.oferta-precos { margin-top: 8px; display: grid; gap: 1px; }
.oferta-precos__de { font-size: 12.5px; color: var(--ink-soft); }
.oferta-precos__linha { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.oferta-precos__por { font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.oferta-precos__pix { font-size: 11.5px; font-weight: 700; color: #2f4a12; background: #dcebc8; border-radius: 99px; padding: 2px 9px; white-space: nowrap; }
.card-loja-tag { display: flex; justify-content: center; margin-bottom: 8px; }
.card-loja-tag:empty { display: none; }

/* Comentário da Bia: ícone de balão ao lado do título; ao tocar, abre o texto logo abaixo. */
.card-titulo { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-titulo .post-card__title { flex: 1 1 auto; min-width: 0; }
.card-fala-btn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--olive-soft); color: var(--olive-dark); display: grid; place-items: center; padding: 0; cursor: pointer; transition: background .15s, color .15s; }
.card-fala-btn svg { width: 18px; height: 18px; }
.card-fala-btn:hover, .card-fala-btn[aria-expanded="true"] { background: var(--olive); color: #fff; }
.card-fala { position: relative; background: #f6efd9; border-radius: 14px; padding: 10px 12px; margin-top: 10px; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 13.5px; line-height: 1.5; color: #3a3524; }
.card-fala::before { content: ""; position: absolute; top: -6px; right: 11px; width: 12px; height: 12px; background: #f6efd9; transform: rotate(45deg); border-radius: 2px; }
.card-fala small { display: block; margin-top: 6px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #7a735c; }

/* Tamanho ÚNICO de card (vitrine, moodboards, dicas): foto quadrada, como no Acervo, e colunas um pouco maiores (~200px, contra 168px do Acervo). */
.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 18px; }
}
.posts-grid .post-card__media { aspect-ratio: 1 / 1; overflow: hidden; }
.posts-grid .post-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Só para a Bia logada: editar o card e o comentário */
.card-fotoacoes .card-editar { width: 34px; height: 34px; border: 0; padding: 0; cursor: pointer; border-radius: 50%; background: #fff; color: #5b574a; box-shadow: 0 1px 6px rgba(0,0,0,.18); display: grid; place-items: center; outline: 2px dashed var(--olive); outline-offset: 2px; }
.card-fotoacoes .card-editar svg { width: 17px; height: 17px; }
.card-fala-btn.is-vazio { background: transparent; color: var(--olive); outline: 1.5px dashed var(--olive); outline-offset: -2px; }
.card-fala-editar { margin-top: 8px; border: 0; background: transparent; color: var(--olive-dark); font: inherit; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-style: normal; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.card-fala-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-style: normal; font-size: 16px; color: #3a3524; background: #fffdf6; border: 1px solid #d9cfb3; border-radius: 10px; padding: 8px 10px; resize: vertical; }
.card-fala-acoes { display: flex; gap: 8px; margin-top: 8px; }
.card-fala-acoes button { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-style: normal; font-size: 12.5px; font-weight: 700; border-radius: 99px; padding: 6px 14px; cursor: pointer; border: 1px solid var(--olive); background: var(--olive); color: #fff; }
.card-fala-acoes button[data-fala-cancelar] { background: transparent; color: var(--olive-dark); }
/* a "Dica da semana" do Início continua um cartão de destaque, na largura toda */
.posts-grid.home-dica .post-card__media { aspect-ratio: 16 / 10; }

/* ---------- Visual no jeito da Afilioteca: topo VERDE e menu de três risquinhos (como sempre foram), ambientes em círculos ---------- */
.public-sidebar__collapse { display: none; }
/* ambientes (Início): círculos com ícone, como as categorias da vitrine da Afilioteca */
.home-tiles { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; grid-template-columns: none; scrollbar-width: none; }
.home-tiles::-webkit-scrollbar { display: none; }
.home-tile { flex: 0 0 auto; width: 82px; padding: 0; background: transparent; border: 0; gap: 4px; }
.home-tile:hover { background: transparent; }
.home-tile__icon { width: 60px; height: 60px; margin: 0; background: var(--cream); box-shadow: 0 0 0 1.5px var(--line); }
.home-tile__name { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.home-tile__n { display: none; }
/* menu: como sempre foi, o botão de três risquinhos (MENU) abre a gaveta, no computador e no celular */

/* Pulsar (opcional, ligado no painel): o botão do grupo do WhatsApp e o selo do pop-up */
@keyframes gb-pulsa-wa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes gb-pulsa-selo { 0% { box-shadow: 0 8px 22px rgba(30, 26, 20, .28), 0 0 0 0 rgba(95, 111, 63, .6); } 70% { box-shadow: 0 8px 22px rgba(30, 26, 20, .28), 0 0 0 18px rgba(95, 111, 63, 0); } 100% { box-shadow: 0 8px 22px rgba(30, 26, 20, .28), 0 0 0 0 rgba(95, 111, 63, 0); } }
body[data-pulse-wa="1"] .btn-whatsapp { animation: gb-pulsa-wa 1.9s ease-out infinite; }
body[data-pulse-pop="1"] .gb-pop__badge { animation: gb-pop-in 0.45s cubic-bezier(.2, 1.3, .4, 1) both, gb-pulsa-selo 2.2s ease-out 0.9s infinite; }
@media (prefers-reduced-motion: reduce) { body[data-pulse-wa="1"] .btn-whatsapp, body[data-pulse-pop="1"] .gb-pop__badge { animation: none; } }

/* Menu lateral mais limpo (como o da Afilioteca): lista simples, sem moldura nos botões; o item aberto fica destacado */
.public-sidebar__nav { gap: 2px; }
.public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push),
.public-sidebar__row .public-sidebar__link,
.public-sidebar__share { border-color: transparent; background: transparent; box-shadow: none; }
.public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push):hover,
.public-sidebar__row .public-sidebar__link:hover,
.public-sidebar__share:hover { border-color: transparent; background: var(--olive-soft); box-shadow: none; transform: none; }
.public-sidebar__nav > .public-sidebar__link.is-active,
.public-sidebar__row .public-sidebar__link.is-active { background: var(--olive-soft); border-color: transparent; color: var(--accent-text); box-shadow: inset 3px 0 0 var(--olive); }
.public-sidebar__link--whatsapp:hover { background: #e4f8ea; }
@media (hover: hover) {
  .public-sidebar__nav > .public-sidebar__link:not(.public-sidebar__link--push):hover,
  .public-sidebar__row .public-sidebar__link:hover, .public-sidebar__share:hover { transform: none; box-shadow: none; }
}

/* Carrossel de fotos do card: só as bolinhas indicam que há mais fotos (as setinhas atrapalhavam os botões de curtir e compartilhar) */
.card-slider__arrow { display: none !important; }
.card-slider__track, [data-slider-track] { cursor: grab; }

/* ===== Curadoria mais simples (31/10/2026): card de apresentação em linha, busca logo abaixo, bolinhas de ambientes, aba Cupons ===== */
.home-intro.home-intro--linha { display: block; text-align: left; padding: 10px 12px; border-radius: 16px; }
.home-intro__row { display: flex; align-items: center; gap: 12px; }
.home-intro.home-intro--linha .avatar-frame { flex: 0 0 auto; width: 56px; height: 56px; margin: 0; }
.home-intro.home-intro--linha .home-intro__text h2 { font-size: 18px; margin: 0 0 2px; }
.home-intro.home-intro--linha .home-intro__text p { font-size: 13px; line-height: 1.4; margin: 0; }
.home-intro__wa { display: flex; width: 100%; justify-content: center; margin-top: 10px; }
.home-search-slot .search-bar { max-width: none; padding: 0; margin: 10px 0 0; }
/* barra superior vazia (a busca está no Início ou a aba não usa busca): some */
.sticky-nav:not(:has(.search-bar)):not(:has(.sticky-nav__icon-btn)) { display: none; }
body[data-tab="cupons"] .sticky-nav .search-bar { display: none; }
body[data-tab="cupons"] .sticky-nav:not(:has(.sticky-nav__icon-btn)) { display: none; }

.home-sec--ambientes { margin-top: 6px; }
.vitrine-bubbles { margin-bottom: 6px; }
.amb-dqs { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.amb-dqs::-webkit-scrollbar { display: none; }
.amb-dq { flex: 0 0 auto; width: 72px; display: grid; justify-items: center; gap: 6px; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; text-decoration: none; scroll-snap-align: start; font: inherit; color: inherit; }
.amb-dq__c { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; padding: 3px; border: 2px solid transparent; background: var(--olive-soft); color: var(--olive-dark, var(--olive)); transition: border-color .15s ease; }
.amb-dq--alt .amb-dq__c { background: color-mix(in srgb, var(--terracotta) 14%, var(--cream)); color: var(--terracotta); }
.amb-dq__c img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.amb-dq__icon { width: 30px; height: 30px; }
.amb-dq em { font-style: normal; font-size: 11.5px; line-height: 1.2; color: var(--ink-soft); text-align: center; max-width: 72px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amb-dq.is-active .amb-dq__c { border-color: var(--olive); }
.amb-dq.is-active em { color: var(--accent-text); font-weight: 700; }
@media (hover: hover) { .amb-dq:hover .amb-dq__c { border-color: var(--olive); } }

.price-note { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 4px; padding: 7px 10px; background: var(--sand); border-radius: 10px; font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.price-note svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; }

.coupons-page { max-width: 1100px; margin: 0 auto; padding: 8px 0 24px; }
.coupons-page .coupons-strip { padding: 0 16px; }
.coupons-strip__note { margin: 0 0 10px; text-align: center; font-size: 12.5px; color: var(--ink-soft); }
.coupons-page .coupons-strip__row { flex-wrap: wrap; justify-content: center; overflow: visible; }
.coupon-card__esgota { font-size: 11px; color: var(--ink-soft); }
.coupons-empty { text-align: center; color: var(--ink-soft); padding: 28px 16px; }

/* ===== Faixa fixa da vitrine (02/11/2026): botão do grupo, busca e ambientes presos no topo; some ao rolar para baixo (.is-away) e volta ao rolar para cima ===== */
.gb-faixa__wa { max-width: 520px; margin: 0 auto; padding: 0 20px 8px; }
.gb-faixa__wa .btn-whatsapp { display: flex; width: 100%; justify-content: center; text-align: center; padding: 11px 14px; font-size: 14px; line-height: 1.2; }
.sticky-nav .search-bar { margin-bottom: 4px; }
.gb-faixa__amb { max-width: 760px; margin: 0 auto; padding: 0 14px 6px; }
.gb-faixa__amb .amb-dqs { gap: 8px; padding: 4px 0 2px; }
.gb-faixa__amb .amb-dq { width: 64px; gap: 4px; }
.gb-faixa__amb .amb-dq__c { width: 54px; height: 54px; }
.gb-faixa__amb .amb-dq__icon { width: 26px; height: 26px; }
.gb-faixa__amb .amb-dq em { font-size: 11px; max-width: 64px; }
.sticky-nav { box-shadow: 0 2px 10px rgba(30, 26, 20, .06); }
body[data-tab="cupons"] .sticky-nav .search-bar { display: none; }
/* título do ambiente filtrado */
.amb-titulo { font-family: var(--font-display, Fraunces, Georgia, serif); font-size: 22px; line-height: 1.2; margin: 6px 2px 10px; color: var(--ink); }
.amb-titulo[hidden] { display: none; }
.home-todos { margin-top: 4px; }
/* voltar ao topo: discreto, canto inferior esquerdo, só depois de rolar */
.gb-topo { position: fixed; left: 14px; bottom: 18px; z-index: 60; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 252, 246, .92); color: var(--ink-soft); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(30, 26, 20, .14); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gb-topo.is-on { opacity: .85; transform: none; pointer-events: auto; }
.gb-topo:hover { opacity: 1; }
.gb-topo svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .gb-topo { transition: none; } }
/* setinha da Vitrine no menu lateral: abre os ambientes */
.public-sidebar__link .public-sidebar__chev[data-amb-toggle] { cursor: pointer; border-radius: 8px; }
.public-sidebar__link .public-sidebar__chev[data-amb-toggle]:hover { background: rgba(0, 0, 0, 0.06); }
.public-sidebar__link .public-sidebar__chev[data-amb-toggle][aria-expanded="true"] svg { transform: rotate(180deg); }
/* card de apresentação: fica ACIMA da faixa fixa (botão, busca e ambientes), só na Início */
.home-intro-wrap { max-width: 1100px; margin: 0 auto; padding: 12px 20px 8px; }
body:not([data-tab="home"]) .home-intro-wrap { display: none; }

/* Menu lateral: WhatsApp e Instagram em ícones redondos, acima da logo do fecho (substitui a seção "Comunidade") */
.public-sidebar__social { margin-top: auto; display: flex; justify-content: center; gap: 12px; padding: 16px 16px 4px; flex: none; }
.public-sidebar__social + .public-sidebar__end { margin-top: 0; }
.public-sidebar__soc { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: transform .15s; }
.public-sidebar__soc:hover { transform: scale(1.06); }
.public-sidebar__soc svg { width: 22px; height: 22px; }
.public-sidebar__soc--wa { background: #25D366; }
.public-sidebar__soc--ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }

/* 03/11/2026: card do grupo (frase) acima da faixa; a faixa não some mais ao rolar, encolhe (.is-compact) como na Afilioteca */
.gb-wa-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; text-align: center; line-height: 1.4; max-width: 520px; margin: 0 auto; }
.gb-wa-card b { display: block; font-family: var(--font-display, Fraunces, Georgia, serif); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.gb-wa-card span { font-size: 14px; color: var(--ink-soft); }
.sticky-nav.is-away { transform: none; }
.sticky-nav, .sticky-nav .btn-whatsapp, .sticky-nav .search-bar__field, .sticky-nav .search-bar input, .gb-faixa__amb .amb-dq, .gb-faixa__amb .amb-dq__c, .gb-faixa__amb .amb-dq__icon, .gb-faixa__amb .amb-dq em, .gb-faixa__wa, .gb-faixa__amb { transition: all .25s ease; }
.sticky-nav.is-compact { padding-top: 6px; }
.sticky-nav.is-compact .gb-faixa__wa { padding-bottom: 5px; }
.sticky-nav.is-compact .gb-faixa__wa .btn-whatsapp { padding: 7px 12px; font-size: 12.5px; }
.sticky-nav.is-compact .search-bar { margin-bottom: 2px; }
.sticky-nav.is-compact .search-bar input { padding-top: 8px; padding-bottom: 8px; }
.sticky-nav.is-compact .gb-faixa__amb { padding-bottom: 4px; }
.sticky-nav.is-compact .gb-faixa__amb .amb-dq { width: 46px; gap: 0; }
.sticky-nav.is-compact .gb-faixa__amb .amb-dq__c { width: 38px; height: 38px; }
.sticky-nav.is-compact .gb-faixa__amb .amb-dq__icon { width: 19px; height: 19px; }
.sticky-nav.is-compact .gb-faixa__amb .amb-dq em { max-height: 0; opacity: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sticky-nav, .sticky-nav * { transition: none !important; } }

/* 03/11/2026: cards da vitrine maiores no celular, como na Afilioteca: as margens laterais eram 20px + 20px (painel + grade); agora 14px e espaço entre cards 10px */
@media (max-width: 639px) {
  .home-panel { padding-left: 14px; padding-right: 14px; }
  .home-panel .posts-grid { padding-left: 0; padding-right: 0; gap: 14px 10px; }
}

/* 03/11/2026: bolinha da vitrine temática (logo depois de "Todos"), com anel de destaque */
.amb-dq--tema .amb-dq__c { border: 2px solid var(--clay, #a9744f); background: #f6e9dd; color: var(--clay, #a9744f); }
.amb-dq--tema em { color: var(--clay, #a9744f); font-weight: 700; }

/* 03/11/2026: fundo branco levemente quente; cards brancos com borda fina para não se perderem no fundo */
.posts-grid .post-card { border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(43, 43, 43, 0.05); }
.sticky-nav { border-bottom: 1px solid var(--line); }

/* 03/11/2026: card da Curadoria no padrão da vitrine da Afilioteca: limpo, foto grande, % de desconto na foto e a loja como tag (com o logo fiel) */
.vitrine-card { margin-top: 0; }
.vitrine-card .post-card__body { padding: 10px 10px 12px; gap: 8px; }
.vitrine-card .post-card__title { font-size: 13.5px; font-weight: 600; line-height: 1.28; min-height: 2.5em; }
.vitrine-card .oferta-precos { margin-top: 6px; }
.vitrine-card .oferta-precos__por { font-size: 17.5px; }
.vitrine-card .card-cta-loja { border-radius: 12px; padding: 10px; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.loja-tag { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 6px; padding: 2px 9px 2px 4px; border-radius: 999px; background: #f2efe8; color: #4a4636; font-size: 11px; font-weight: 700; line-height: 1.3; }
.loja-tag img { width: 15px; height: 15px; object-fit: contain; flex: 0 0 15px; }
.loja-tag--so-logo { padding: 3px 9px; }
.loja-tag--so-logo img { width: auto; height: 12px; max-width: 54px; flex: 0 0 auto; }
.loja-tag--shopee { background: #fdeeea; color: #b93a22; }
.loja-tag--mercado-livre { background: #fff7bf; color: #2d3277; }
.loja-tag--amazon { background: #fff1dc; color: #232f3e; }
.loja-tag--magazine-luiza, .loja-tag--magalu { background: #e3f1ff; color: #0b5cad; }
.loja-tag--shein { background: #efefef; }
.loja-tag--tiktok, .loja-tag--tiktok-shop { background: #e8fafb; }
.loja-tag__inicial { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #fff; font-style: normal; font-size: 9px; font-weight: 800; }
.card-desc { position: absolute; top: 8px; left: 8px; z-index: 4; background: var(--terracotta); color: #fff; font-weight: 700; font-size: 12px; line-height: 1; padding: 5px 9px; border-radius: 999px; }
.vitrine-card .post-card__media { background: #fff; }

/* 03/11/2026: botão do grupo grudado no card: metade dentro, metade fora, centrado na borda de baixo */
.home-intro-wrap { padding-bottom: 34px; }
.gb-wa-card { position: relative; padding-bottom: 36px; }
.gb-wa-card__btn.btn-whatsapp { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: calc(100% - 28px); max-width: 380px; display: flex; justify-content: center; text-align: center; padding: 11px 10px; font-size: 13.5px; line-height: 1.2; white-space: nowrap; box-shadow: 0 4px 12px rgba(37, 211, 102, .35); }

/* 03/11/2026: a foto da bolinha preenche o círculo inteiro (sem folga em volta); o anel de seleção fica por fora */
.amb-dq__c:has(img) { padding: 0; border: 0; }
.amb-dq__c img { position: absolute; inset: 0; }
.amb-dq.is-active .amb-dq__c:has(img), .amb-dq:hover .amb-dq__c:has(img) { box-shadow: 0 0 0 2px var(--olive); }
.amb-dq--tema .amb-dq__c:has(img) { box-shadow: 0 0 0 2px var(--clay, #a9744f); }

/* 03/11/2026: compartilhar no canto inferior direito da foto, como na vitrine da Afilioteca; o coração fica no canto superior direito */
.vitrine-card .card-fotoacoes { position: static; display: block; }
.vitrine-card .card-fotoacoes .card-share-btn { position: absolute; right: 8px; bottom: 8px; z-index: 4; width: 32px; height: 32px; background: rgba(255, 255, 255, .88); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.vitrine-card .card-fotoacoes .card-camera { position: absolute; left: 8px; bottom: 8px; z-index: 4; }
.vitrine-card .card-fotoacoes .card-editar { position: absolute; left: 8px; bottom: 48px; z-index: 4; }
.vitrine-card .post-card__pin { top: auto; bottom: 10px; left: 10px; right: auto; }

/* 03/11/2026: tag da loja e botão do comentário na mesma linha, alinhados pelo centro; o balão abre logo embaixo */
.card-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; min-height: 28px; }
.card-linha .loja-tag, .card-linha .store-tag { margin: 0; }
.card-linha .card-fala-btn { width: 28px; height: 28px; margin-left: auto; }
.card-linha .card-fala-btn svg { width: 16px; height: 16px; }
.vitrine-card .card-fala { margin: 0 0 8px; }

/* 03/11/2026: preços SEMPRE alinhados entre os cards: título com altura de 2 linhas, preços em 3 linhas fixas (anterior, atual, Pix) coladas no botão */
.vitrine-card .post-card__body > div:first-child { display: flex; flex-direction: column; flex: 1; }
.vitrine-card .post-card__title { height: 2.56em; min-height: 0; line-height: 1.28; -webkit-line-clamp: 2; }
.vitrine-card .oferta-precos { margin-top: auto; padding-top: 6px; display: grid; grid-template-rows: 16px 24px 22px; gap: 0; align-content: end; }
.vitrine-card .oferta-precos__de { grid-row: 1; line-height: 16px; white-space: nowrap; overflow: hidden; }
.vitrine-card .oferta-precos__linha { grid-row: 2; display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; height: 24px; line-height: 24px; min-width: 0; }
.vitrine-card .oferta-precos__por { flex: 0 0 auto; font-size: 16px; }
.vitrine-card .oferta-precos__pixlinha { grid-row: 3; display: flex; align-items: flex-start; padding-top: 4px; }
.vitrine-card .oferta-precos__pix { font-size: 10px; line-height: 1.2; padding: 2px 7px; white-space: nowrap; }
.vitrine-card .post-card__body > .card-cta-loja, .vitrine-card .post-card__body > .post-card__cta { margin-top: 8px; }

/* Pop-up da bolinha "Todos": escolher várias categorias e vitrines temáticas de uma vez */
.gbc { position: fixed; inset: 0; z-index: 10000; background: rgba(43,43,43,.45); display: flex; align-items: flex-end; justify-content: center; }
.gbc__box { background: var(--sand, #fdfcf9); width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 18px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 640px) { .gbc { align-items: center; } .gbc__box { border-radius: 20px; } }
.gbc__tit { margin: 0 2px 2px; font-size: 17px; font-weight: 700; }
.gbc__sub { margin: 0 2px; font-size: 12.5px; color: var(--ink-soft, #6e6455); }
.gbc__topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 2px 12px; }
.gbc__todas { border: 1px solid var(--olive, #5f6f3f); background: #fff; color: var(--olive-dark, #47542e); border-radius: 10px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.gbc__x { border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink-soft, #6e6455); text-decoration: underline; cursor: pointer; padding: 6px; }
.gbc__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 4px; max-height: 52vh; overflow: auto; padding: 4px 2px; }
.gbc__it { width: auto; max-width: none; }
.gbc__it em { max-width: 100%; }
.gbc__it.is-on .amb-dq__c { border-color: var(--olive, #5f6f3f); box-shadow: 0 0 0 2px var(--olive, #5f6f3f); }
.gbc__it .amb-dq__c { overflow: visible; }
.gbc__it .amb-dq__c img { border-radius: 50%; }
.gbc__ck { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--olive, #5f6f3f); border: 2px solid var(--sand, #fdfcf9); display: none; place-items: center; }
.gbc__ck::after { content: "✓"; color: #fff; font-size: 11px; line-height: 1; font-weight: 700; }
.gbc__it.is-on .gbc__ck { display: grid; }
.gbc__ok { width: 100%; margin-top: 14px; border: 0; border-radius: 12px; background: var(--olive, #5f6f3f); color: #fff; padding: 13px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.gbc__badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--terracotta, #a9744f); color: #fff; font-size: 10.5px; line-height: 18px; text-align: center; font-weight: 700; }
.amb-dqs .amb-dq[data-ambiente-pill=""] .amb-dq__c { overflow: visible; }
.gbc-mostrando { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 14px 4px; font-size: 13px; color: var(--ink-soft, #6e6455); }
.gbc-mostrando button { border: 0; background: none; color: var(--olive-dark, #47542e); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; white-space: nowrap; }

/* 05/11/2026: paginação (← Anterior · Página X de Y · Próxima →) numa linha só, também em celulares estreitos */
.pagination { flex-wrap: nowrap; }
.pagination button { white-space: nowrap; flex: 0 0 auto; }
.pagination__info { white-space: nowrap; }
@media (max-width: 480px) {
  .pagination { gap: 8px; padding: 20px 10px 8px; }
  .pagination button { padding: 9px 12px; font-size: 13px; }
  .pagination__info { min-width: 0; font-size: 12px; }
}

/* ===== Curadoria nova (10/11/2026): barra inferior, Posts do Instagram, Explorar, Coleções ===== */
.home-sub { margin: -6px 0 12px; font-size: 13px; color: var(--ink-soft); }
.home-head--feed { margin-top: 18px; }
.gb-faixa__amb[hidden] { display: none !important; } /* as bolinhas ficam escondidas: o filtro e a busca ainda leem os dados delas */

/* capas dos posts do Instagram */
.ed-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 4px; }
.ed-row::-webkit-scrollbar { display: none; }
.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ed-cv { position: relative; flex: 0 0 96px; width: 96px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--olive-soft); }
.ed-grid .ed-cv { width: auto; flex: none; }
.ed-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-cv i { position: absolute; left: 6px; bottom: 6px; background: var(--sand); color: var(--ink); border-radius: 7px; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; }

/* faixa de cupons no Início */
.cup-faixa { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--olive-soft); border-radius: 14px; text-decoration: none; color: var(--ink); }
.cup-faixa__ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--olive); color: var(--on-olive); display: grid; place-items: center; }
.cup-faixa__ic svg { width: 18px; height: 18px; }
.cup-faixa__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cup-faixa__txt b { font-size: 14px; }
.cup-faixa__txt small { font-size: 12px; color: var(--ink-soft); }
.cup-faixa__go { color: var(--olive-dark, #47542e); display: grid; }
.cup-faixa__go svg { width: 20px; height: 20px; }

/* Explorar: categorias em cartões, 3 por linha */
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cat-card { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--olive-soft); text-decoration: none; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(30, 34, 16, .7)); }
.cat-card u { position: absolute; z-index: 1; left: 8px; right: 6px; bottom: 7px; text-decoration: none; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.cat-card--sem-foto::after { display: none; }
.cat-card--sem-foto u { color: var(--accent-text); top: auto; }
@media (min-width: 700px) { .cat-cards { grid-template-columns: repeat(4, 1fr); gap: 12px; } .ed-grid { grid-template-columns: repeat(5, 1fr); } }

/* Coleções */
.colecoes-lista { display: grid; gap: 12px; }
.colecao-card { position: relative; display: block; height: 170px; border-radius: 16px; overflow: hidden; background: var(--olive-soft) center / cover; text-decoration: none; color: #fff; }
.colecao-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(30, 34, 16, .78)); }
.colecao-card__txt { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.colecao-card__txt small { background: var(--terracotta); font-weight: 700; font-size: 11px; padding: 2px 9px; border-radius: 999px; margin-bottom: 6px; }
.colecao-card__txt b { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.colecao-card__txt span { font-size: 12.5px; opacity: .92; }

/* barra inferior (só no celular) */
.gb-bottom-nav { display: none; }
@media (max-width: 899px) {
  .gb-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; background: var(--cream); border-top: 1px solid var(--line); padding: 7px 0 calc(9px + env(safe-area-inset-bottom, 0px)); }
  .gb-bottom-nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
  .gb-bottom-nav__item svg { width: 22px; height: 22px; }
  .gb-bottom-nav__item.is-active { color: var(--accent-text); font-weight: 700; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .gb-faq-btn { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .gb-pop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .gb-topo { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top-btn, body:has(.gb-faq-btn) .back-to-top-btn { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* janela do post (sobe de baixo) */
.ed-sheet[hidden] { display: none; }
.ed-sheet { position: fixed; inset: 0; z-index: 120; }
.ed-sheet__dim { position: absolute; inset: 0; background: rgba(36, 42, 20, .5); animation: ed-fade .2s ease both; }
.ed-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; display: flex; flex-direction: column; background: var(--sand); border-radius: 22px 22px 0 0; animation: ed-up .28s cubic-bezier(.2, .8, .2, 1) both; padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 900px) { .ed-sheet__panel { left: 50%; right: auto; width: min(760px, 92vw); transform: translateX(-50%); animation-name: ed-up-d; } }
.ed-sheet__grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 9px auto 4px; cursor: pointer; flex: 0 0 auto; }
.ed-sheet__head { display: flex; align-items: center; gap: 12px; padding: 6px 16px 12px; flex: 0 0 auto; }
.ed-sheet__cv { flex: 0 0 46px; height: 60px; border-radius: 9px; background: var(--olive-soft) center / cover; }
.ed-sheet__ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ed-sheet__ttl b { font-family: var(--font-display); font-size: 18px; }
.ed-sheet__ttl span { font-size: 12.5px; color: var(--ink-soft); }
.ed-sheet__btn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--accent-text); display: grid; place-items: center; cursor: pointer; font-size: 18px; padding: 0; }
.ed-sheet__btn svg { width: 22px; height: 22px; }
.ed-sheet__scroll { overflow-y: auto; padding: 0 14px 18px; overscroll-behavior: contain; }
.ed-sheet__grid { margin-bottom: 14px; }
.ed-sheet__wa { display: flex; justify-content: center; width: 100%; }
.ed-sheet__vazio { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 20px 0; }
body.ed-sheet-open { overflow: hidden; }
@keyframes ed-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ed-up-d { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes ed-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ed-sheet__panel, .ed-sheet__dim { animation: none; } }
.search-suggest__thumb { width: 30px; height: 40px; object-fit: cover; border-radius: 6px; flex: 0 0 30px; }
.search-suggest__item:has(.search-suggest__thumb) { display: flex; align-items: center; gap: 10px; }

/* compartilhar sobre a foto: só o contorno branco, sem o círculo (como no protótipo aprovado) */
.vitrine-card .card-fotoacoes .card-share-btn { width: 34px; height: 34px; background: transparent; border: 0; box-shadow: none; color: #fff; right: 6px; bottom: 6px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .65)); }
.vitrine-card .card-fotoacoes .card-share-btn svg { width: 22px; height: 22px; }
.vitrine-card .card-fotoacoes .card-share-btn:hover { background: transparent; border: 0; box-shadow: none; transform: none; }
.explorar-panel, .posts-panel, .colecoes-panel { max-width: 1100px; margin: 0 auto; padding: 18px 14px 60px; }
.explorar-panel[hidden], .posts-panel[hidden], .colecoes-panel[hidden] { display: none; }
.search-suggest__item:has(.search-suggest__thumb) .search-suggest__name { flex: 1; text-align: left; }

/* janela do post: o convite do grupo fica fixo embaixo e só os cards rolam */
.ed-sheet__scroll { flex: 1 1 auto; min-height: 0; padding-bottom: 12px; }
.ed-sheet__foot { flex: 0 0 auto; padding: 10px 14px 12px; background: var(--sand); border-top: 1px solid var(--line); }
.ed-sheet__wa { margin: 0; }

/* botão dos cards: "Ver na loja" com a setinha de que abre a loja */
.post-card__cta .cta-seta { width: 14px; height: 14px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* barra inferior mais alta e com folga nas pontas (12/11/2026) */
@media (max-width: 899px) {
  .gb-bottom-nav { padding: 12px max(10px, env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px)); gap: 2px; }
  .gb-bottom-nav__item { gap: 5px; font-size: 11.5px; padding: 0 2px; min-width: 0; }
  .gb-bottom-nav__item svg { width: 25px; height: 25px; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .gb-faq-btn { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .gb-pop { bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
  .gb-topo { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top-btn, body:has(.gb-faq-btn) .back-to-top-btn { bottom: calc(102px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Pop-up do grupo (abre toda vez que alguém chega ao site) ===== */
.gp-ov { position: fixed; inset: 0; z-index: 3000; background: rgba(30, 34, 20, .62); display: grid; place-items: center; padding: 14px; overflow-y: auto; }
.gp-ov[hidden] { display: none; }
body.gp-aberto { overflow: hidden; }
.gp-box { position: relative; width: 100%; max-width: 400px; background: #fdfcf9; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .4); margin: auto; }
.gp-car { position: relative; height: 200px; overflow: hidden; background: #e9e4d6; }
.gp-sl { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; background-size: cover; background-position: center; }
.gp-sl.on { opacity: 1; }
.gp-car::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, rgba(30, 34, 20, .75)); pointer-events: none; }
.gp-cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font: 700 15px "Fraunces", Georgia, serif; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.gp-cap small { display: block; font: 700 10px "Plus Jakarta Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 2px; }
.gp-dots { position: absolute; right: 12px; bottom: 14px; display: flex; gap: 5px; z-index: 2; }
.gp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: .3s; }
.gp-dots i.on { background: #fff; width: 18px; border-radius: 5px; }
.gp-badge { position: absolute; top: 12px; left: 12px; z-index: 3; background: #1fa855; color: #fff; border-radius: 999px; padding: 5px 11px; font: 800 11px "Plus Jakarta Sans", sans-serif; display: inline-flex; gap: 6px; align-items: center; letter-spacing: .02em; }
.gp-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: gp-pisca 1.2s infinite; }
.gp-badge--solto { position: static; margin: 16px 0 0 18px; }
.gp-x { position: absolute; top: 10px; right: 10px; z-index: 4; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #2d2a24; font-size: 14px; cursor: pointer; }
.gp-cp { padding: 16px 18px 16px; text-align: center; }
.gp-cp h2 { font: 700 21px/1.18 "Fraunces", Georgia, serif; margin: 0 0 8px; color: #2d2a24; text-wrap: balance; }
.gp-cp h2 em { font-style: normal; color: #a9744f; }
.gp-cp p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #5d5748; }
.gp-cp .gp-l2 { margin: -6px 0 12px; font-weight: 700; color: #3f5a1c; }
.gp-pts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 5px; text-align: left; font-size: 12.5px; font-weight: 600; color: #3a3a2a; }
.gp-pts li { display: flex; gap: 8px; align-items: flex-start; }
.gp-pts li::before { content: "✓"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #e1ecd0; color: #3f5a1c; font-size: 11px; display: grid; place-items: center; margin-top: 1px; }
.gp-go { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border: 0; border-radius: 14px; background: linear-gradient(#27b863, #1a9a52); color: #fff; font: 800 clamp(11.5px, 3.7vw, 14.5px)/1.15 "Plus Jakarta Sans", sans-serif; white-space: nowrap; padding: 15px 10px; text-decoration: none; box-shadow: 0 8px 20px rgba(31, 168, 85, .45); animation: gp-pulsa 1.8s infinite; }
.gp-go svg { flex: none; width: 22px; height: 22px; }
.gp-pula { display: block; width: 100%; margin-top: 8px; border: 0; background: none; color: #6a6454; font: 700 13px "Plus Jakarta Sans", sans-serif; padding: 9px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@keyframes gp-pulsa { 0% { box-shadow: 0 8px 20px rgba(31, 168, 85, .45), 0 0 0 0 rgba(31, 168, 85, .5); } 70% { box-shadow: 0 8px 20px rgba(31, 168, 85, .45), 0 0 0 14px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 8px 20px rgba(31, 168, 85, .45), 0 0 0 0 rgba(31, 168, 85, 0); } }
@keyframes gp-pisca { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .gp-go, .gp-badge::before { animation: none; } .gp-sl { transition: none; } }

/* Botão do grupo fixo no topo: uma linha só; com o card do grupo visível, só aparece depois de rolar */
.gb-faixa__wa .btn-whatsapp { white-space: nowrap; }
.gb-faixa__wa--so-fixo { display: none; }
body.gb-wa-fixo-on .gb-faixa__wa--so-fixo { display: block; }

/* Botão do grupo fixo no topo: pulsa forte (anel largo + leve crescer) para chamar atenção. */
@keyframes gb-pulsa-forte { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, .85), 0 0 0 0 rgba(37, 211, 102, .5); } 45% { transform: scale(1.045); box-shadow: 0 0 0 10px rgba(37, 211, 102, .35), 0 0 0 22px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0); } }
.gb-faixa__wa .btn-whatsapp, body[data-pulse-wa="1"] .gb-faixa__wa .btn-whatsapp { animation: gb-pulsa-forte 1.3s ease-out infinite; }
.gb-faixa__wa { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .gb-faixa__wa .btn-whatsapp, body[data-pulse-wa="1"] .gb-faixa__wa .btn-whatsapp { animation: none; } }

/* Dica rotativa do campo de busca (ED / produto) */
.search-bar input.tem-dica::placeholder { color: transparent; }
.gb-dica { position: absolute; left: 42px; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft, #7a7566); font-size: 14px; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s ease, transform .35s ease; }
.gb-dica[hidden] { display: none; }
.gb-dica.out { opacity: 0; transform: translateY(-80%); }
.gb-dica b { color: var(--olive); font-weight: 700; }
