/* Dropou Central — páginas públicas (bio, oferta encerrada, vitrine) */
.dp-page {
  --dp-bg: #0d0f14;
  --dp-card: #171a22;
  --dp-card-2: #1f2430;
  --dp-line: #2a3040;
  --dp-text: #f2f4f8;
  --dp-muted: #9aa3b5;
  --dp-accent: #7cff4f;
  --dp-accent-ink: #0d0f14;
  --dp-old: #8a93a6;
  --dp-tg: #2aabee;
  --dp-zap: #25d366;
  margin: 0;
  background: var(--dp-bg);
  color: var(--dp-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.dp-page *, .dp-vitrine * { box-sizing: border-box; }
.dp-wrap { max-width: 520px; margin: 0 auto; padding: 28px 16px 48px; }

.dp-head { text-align: center; margin-bottom: 22px; }
.dp-logo {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--dp-accent); color: var(--dp-accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 30px; letter-spacing: -1px; overflow: hidden;
  box-shadow: 0 0 0 4px var(--dp-card), 0 0 28px rgba(124,255,79,.35);
}
.dp-logo img { width: 100%; height: 100%; object-fit: cover; }
.dp-head h1 { font-size: 24px; margin: 0 0 4px; font-weight: 800; }
.dp-head p { margin: 0; color: var(--dp-muted); font-size: 15px; }

.dp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; margin-bottom: 12px; border-radius: 14px;
  font-weight: 800; font-size: 17px; text-decoration: none; color: #fff;
  transition: transform .12s ease, filter .12s ease;
}
.dp-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.dp-btn:active { transform: translateY(0); }
.dp-btn-tg { background: var(--dp-tg); }
.dp-btn-zap { background: var(--dp-zap); color: #06210f; }
.dp-btn-ghost { background: var(--dp-card-2); border: 1px solid var(--dp-line); }
.dp-btn small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }

.dp-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 28px 0 12px; font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--dp-muted); font-weight: 700;
}
.dp-search {
  width: 100%; padding: 13px 14px; margin-bottom: 14px; border-radius: 12px;
  border: 1px solid var(--dp-line); background: var(--dp-card); color: var(--dp-text);
  font-size: 16px; outline: none;
}
.dp-search:focus { border-color: var(--dp-accent); }

.dp-item {
  display: flex; gap: 12px; align-items: center; padding: 10px; margin-bottom: 10px;
  background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: 14px;
  text-decoration: none; color: var(--dp-text);
  transition: border-color .12s ease;
}
.dp-item:hover { border-color: var(--dp-accent); }
.dp-item-img {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; background: #fff;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.dp-item-img img { width: 100%; height: 100%; object-fit: contain; }
.dp-item-body { flex: 1; min-width: 0; }
.dp-num {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--dp-accent-ink);
  background: var(--dp-accent); border-radius: 6px; padding: 1px 6px; margin-bottom: 4px;
}
.dp-item-title {
  font-size: 14px; font-weight: 600; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dp-price { font-size: 17px; font-weight: 800; }
.dp-old { font-size: 12px; color: var(--dp-old); text-decoration: line-through; margin-right: 6px; font-weight: 500; }
.dp-off {
  display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 800;
  color: var(--dp-accent); vertical-align: 2px;
}
.dp-cupom { font-size: 12px; color: var(--dp-muted); margin-top: 2px; }
.dp-empty { text-align: center; color: var(--dp-muted); padding: 24px 0; }

.dp-social { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.dp-social a {
  color: var(--dp-muted); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--dp-line); border-radius: 999px;
}
.dp-social a:hover { color: var(--dp-text); border-color: var(--dp-muted); }
.dp-foot { text-align: center; color: var(--dp-muted); font-size: 12px; margin-top: 18px; }

.dp-alert {
  background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: 14px;
  padding: 18px; text-align: center; margin-bottom: 8px;
}
.dp-alert h1 { font-size: 20px; margin: 6px 0; }
.dp-alert p { margin: 0; color: var(--dp-muted); }

/* ---------- Vitrine (shortcode [dropou_vitrine]) ---------- */
.dp-vitrine { --dp-accent: #4fbf26; margin: 0 0 32px; }
.dp-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.dp-cats a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid #d6d9e0;
  text-decoration: none; font-size: 14px; color: inherit; background: transparent;
}
.dp-cats a.is-active { background: #111; color: #fff; border-color: #111; }
.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.dp-card {
  display: flex; flex-direction: column; border: 1px solid #e3e6ec; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit; background: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}
.dp-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.dp-card-img { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; }
.dp-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dp-card-body { padding: 12px 14px 14px; border-top: 1px solid #f0f2f5; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dp-card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6b7385; }
.dp-card-title { font-size: 14px; font-weight: 600; margin: 0; color: #141821;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dp-card .dp-old { color: #8a93a6; }
.dp-card .dp-price { color: #141821; }
.dp-card .dp-off { color: #2f8f12; }
.dp-card-cta {
  margin-top: auto; padding: 9px; text-align: center; border-radius: 10px;
  background: #141821; color: #fff; font-weight: 700; font-size: 14px;
}
.dp-card-meta { font-size: 12px; color: #6b7385; }

@media (max-width: 480px) {
  .dp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dp-card-body { padding: 10px; }
}

/* ---------- Bloco para artigos (shortcode [dropou_ofertas]) ----------
   Herda a cor do texto do tema, então funciona em tema claro ou escuro. */
.dp-art {
  --dp-a-accent: #4fbf26;
  --dp-a-line: rgba(127, 127, 127, .28);
  --dp-a-soft: rgba(127, 127, 127, .08);
  margin: 28px 0; padding: 16px; border: 1px solid var(--dp-a-line); border-radius: 14px;
  background: var(--dp-a-soft); color: inherit; font-size: 15px; line-height: 1.35;
}
.dp-art * { box-sizing: border-box; }
.dp-art-titulo { margin: 0 0 12px !important; font-weight: 800; font-size: 17px; }
.dp-art-itens { display: flex; flex-direction: column; gap: 10px; }
.dp-art a.dp-art-item {
  display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px;
  border: 1px solid var(--dp-a-line); text-decoration: none !important; color: inherit !important;
  background: rgba(127, 127, 127, .04); box-shadow: none;
  transition: border-color .15s ease, transform .15s ease;
}
.dp-art a.dp-art-item:hover { border-color: var(--dp-a-accent); transform: translateY(-1px); }
.dp-art-img {
  position: relative; flex: 0 0 84px; width: 84px; height: 84px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.dp-art-img img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 !important; border-radius: 0; }
.dp-art-off {
  position: absolute; left: 4px; top: 4px; background: var(--dp-a-accent); color: #0d0f14;
  font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px;
}
.dp-art-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dp-art-nome {
  font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dp-art-precos s { opacity: .6; font-size: 13px; margin-right: 6px; }
.dp-art-precos strong { font-size: 18px; font-weight: 800; }
.dp-art-meta { font-size: 12px; opacity: .75; }
.dp-art-relampago { font-size: 12px; font-weight: 700; color: #e8590c; }
.dp-art-cta {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 10px; background: var(--dp-a-accent);
  color: #0d0f14; font-weight: 800; font-size: 14px; white-space: nowrap;
}
.dp-art-rodape { margin: 12px 0 0 !important; font-size: 12px; opacity: .7; display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; }
.dp-art-rodape a { font-weight: 700; color: inherit; }
.dp-art-vazio p { margin: 0; }

/* Grade */
.dp-art-grade .dp-art-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.dp-art-grade a.dp-art-item { flex-direction: column; align-items: stretch; }
.dp-art-grade .dp-art-img { width: 100%; flex-basis: auto; height: auto; aspect-ratio: 1 / 1; }
.dp-art-grade .dp-art-cta { text-align: center; }
.dp-art-grade .dp-art-precos s { display: block; margin: 0; }
.dp-art-grade .dp-art-precos strong { white-space: nowrap; font-size: 16px; }

@media (max-width: 520px) {
  .dp-art { padding: 12px; }
  .dp-art-lista a.dp-art-item { flex-wrap: wrap; }
  .dp-art-lista .dp-art-img { flex-basis: 72px; width: 72px; height: 72px; }
  .dp-art-lista .dp-art-cta { flex-basis: 100%; text-align: center; }
  .dp-art-grade .dp-art-itens { grid-template-columns: repeat(2, 1fr); }
}
