/* =====================================================================
   DRIPPLUG. — the two floating UI pieces (assets/brand.css)
   ---------------------------------------------------------------------
   The WhatsApp button (assets/brand.js) and the measuring consent bar
   (assets/marketing.js). Kept in their own file because they are the only
   styles the product pages need: those pages are rendered by the shop's own
   function and do not carry the homepage stylesheet.
   ===================================================================== */

/* ---------- whatsapp ---------- */
.dp-wa {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  borderradius: 999px;
  border-radius: 999px;
  background: #0f1110;
  color: #f2ece0;
  border: 1px solid rgba(200, 241, 74, 0.35);
  text-decoration: none;
  font: 700 11px/1 var(--font, inherit);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.dp-wa:hover { transform: translateY(-2px); border-color: #c8f14a; }
.dp-wa__icon { display: grid; place-items: center; width: 22px; height: 22px; color: #c8f14a; }
.dp-wa__icon svg { width: 22px; height: 22px; }
.dp-wa__label { white-space: nowrap; }

/* ---------- consent ---------- */
.dp-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(15, 17, 16, 0.97);
  border: 1px solid var(--gold-line);
  color: var(--ivory);
  font-size: 13px;
  line-height: 1.5;
}
.dp-consent__text { margin: 0; max-width: 68ch; }
.dp-consent__text a { color: var(--gold); }
.dp-consent__actions { display: flex; gap: 8px; }
.dp-consent__btn {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #c8f14a;
  color: #0f1110;
  font: 700 11px/1 var(--font, inherit);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid #c8f14a;
}
.dp-consent__btn--ghost { background: transparent; color: #f2ece0; border-color: rgba(242, 236, 224, 0.35); }

@media (max-width: 640px) {
  .dp-wa { padding: 12px; }
  .dp-wa__label { display: none; }
  .dp-consent { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
  .dp-consent__actions { width: 100%; }
  .dp-consent__btn { flex: 1 1 auto; }
}
