:root{
  --wlca-bg:#ffffff;
  --wlca-fg:#111111;
  --wlca-muted:#666666;
  --wlca-border:rgba(17,17,17,.10);
  --wlca-shadow:0 24px 60px rgba(0,0,0,.14);
}
.wlca{
  position:fixed;right:18px;bottom:18px;z-index:99999;
  width:min(400px,calc(100vw - 28px));
  background:var(--wlca-bg);color:var(--wlca-fg);
  border:1px solid var(--wlca-border);border-radius:24px;
  box-shadow:var(--wlca-shadow);padding:22px;
  opacity:0;transform:translateY(14px) scale(.98);
  transition:opacity .18s ease,transform .18s ease;font-family:inherit;
}
.wlca.is-visible{opacity:1;transform:none}
.wlca[hidden]{display:none!important}
.wlca__close{position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#777}
.wlca__eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;margin-bottom:8px}
.wlca__title{display:block;font-size:21px;line-height:1.15;padding-right:28px}
.wlca__text{font-size:14px;line-height:1.55;color:var(--wlca-muted);margin:10px 0 14px}
.wlca__pix-badge{padding:11px 12px;border:1px solid var(--wlca-border);border-radius:14px;margin:0 0 14px}
.wlca__pix-badge strong,.wlca__pix-badge span{display:block}
.wlca__pix-badge strong{font-size:14px}
.wlca__pix-badge span{font-size:12px;color:#666;margin-top:2px}
.wlca__progress-wrap{margin:4px 0 16px}
.wlca__progress{height:6px;background:#efefef;border-radius:999px;overflow:hidden}
.wlca__progress span{display:block;height:100%;width:0;background:currentColor;transition:width .25s ease}
.wlca__score-label{display:block;margin-top:6px;color:#777}
.wlca__actions{display:grid;gap:8px}
.wlca__primary,.wlca__secondary{width:100%;border-radius:14px;padding:13px 15px;font-weight:750;cursor:pointer}
.wlca__primary{border:1px solid #111;background:#111;color:#fff}
.wlca__secondary{border:1px solid #111;background:#fff;color:#111}
.wlca__recovery{border-top:1px solid var(--wlca-border);margin-top:14px;padding-top:14px}
.wlca__recovery-label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}
.wlca__recovery-row{display:grid;grid-template-columns:1fr auto;gap:7px}
.wlca__recovery-row input{min-width:0;border:1px solid #ccc;border-radius:12px;padding:10px 11px}
.wlca__recovery-row button{border:1px solid #111;background:#111;color:#fff;border-radius:12px;padding:10px 12px;cursor:pointer}
.wlca__consent{display:flex;gap:7px;align-items:flex-start;font-size:11px;color:#666;line-height:1.35;margin-top:8px}
.wlca__recovery-status{display:block;font-size:11px;margin-top:6px}
.wlca__trust{display:block;margin-top:12px;color:#777;line-height:1.4}
.wlca-pix-focus{outline:2px solid currentColor!important;outline-offset:5px!important;border-radius:12px!important}
.wlca-pulse{animation:wlcaPulse .7s ease 2}
.wlca-checkout-notice,.wlca-cart-teaser{padding:12px 14px;border:1px solid rgba(17,17,17,.12);border-radius:12px;margin:10px 0 14px;background:#fff}
@keyframes wlcaPulse{50%{transform:scale(1.025)}}
@media (max-width:600px){
  .wlca{left:14px;right:14px;bottom:14px;width:auto;border-radius:20px;padding:18px}
}
@media (prefers-reduced-motion:reduce){
  .wlca,.wlca-pulse{transition:none!important;animation:none!important}
}


/* v0.5 — hierarquia cromática de conversão:
   verde = ação financeira/WhatsApp; âmbar = urgência informativa; preto = ação principal.
   Sem contadores falsos ou escassez artificial. */
:root{
  --wlca-pix:#0a7a45;
  --wlca-pix-dark:#075f36;
  --wlca-pix-soft:#edf9f2;
  --wlca-wa:#148a52;
  --wlca-urgent:#b85c00;
  --wlca-urgent-soft:#fff5e8;
}
.wlca__pix-badge{
  border-color:rgba(10,122,69,.28);
  background:var(--wlca-pix-soft);
}
.wlca__pix-badge strong{color:var(--wlca-pix-dark);font-size:15px}
.wlca__pix-action{
  background:var(--wlca-pix)!important;
  border-color:var(--wlca-pix)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(10,122,69,.18);
}
.wlca__pix-action:hover,.wlca__pix-action:focus{
  background:var(--wlca-pix-dark)!important;
  border-color:var(--wlca-pix-dark)!important;
}
.wlca__whatsapp{
  width:100%;border:1px solid rgba(20,138,82,.32);
  background:#fff;color:var(--wlca-wa);
  border-radius:14px;padding:12px 15px;font-weight:750;cursor:pointer;
}
.wlca__whatsapp:hover,.wlca__whatsapp:focus{background:#f0faf5}
.wlca-pix-focus{
  outline:3px solid var(--wlca-pix)!important;
  outline-offset:5px!important;
  background:var(--wlca-pix-soft)!important;
}
.wlca-checkout-notice{
  border-color:rgba(10,122,69,.30);
  background:var(--wlca-pix-soft);
  color:#064f2d;
  font-weight:700;
}
.wlca-cart-teaser{
  border-color:rgba(184,92,0,.28);
  background:var(--wlca-urgent-soft);
  color:#7a3d00;
  font-weight:700;
}
.wlca[data-intent="hot"]{
  border-color:rgba(184,92,0,.24);
}
.wlca[data-intent="hot"] .wlca__eyebrow{color:var(--wlca-urgent)}
.wlca[data-intent="hot"] .wlca__progress span{background:var(--wlca-urgent)}
.wlca[data-intent="warm"] .wlca__progress span{background:var(--wlca-pix)}
.wlca__primary:focus-visible,.wlca__secondary:focus-visible,.wlca__whatsapp:focus-visible,.wlca__close:focus-visible{
  outline:3px solid rgba(17,17,17,.32);outline-offset:2px;
}
@media(max-width:600px){
  .wlca{max-height:min(78vh,620px);overflow:auto;bottom:10px}
  .wlca__actions{position:sticky;bottom:-18px;background:#fff;padding:8px 0 18px}
}


/* v0.6 — product page conversion layer */
.single-product div.product .summary{
  max-width:680px;
}
.single-product div.product .product_title{
  letter-spacing:-.025em;
  line-height:1.05;
}
.single-product div.product p.price,
.single-product div.product span.price{
  font-weight:800;
}
.wlca-product-value{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  margin:14px 0 18px;
  padding:14px;
  border:1px solid rgba(10,122,69,.22);
  border-radius:18px;
  background:linear-gradient(180deg,#f5fcf8,#edf9f2);
  transition:box-shadow .2s ease,transform .2s ease;
}
.wlca-product-value.is-emphasized{
  box-shadow:0 14px 36px rgba(10,122,69,.16);
  transform:translateY(-1px);
}
.wlca-product-value__badge{
  white-space:nowrap;
  border-radius:999px;
  background:#0a7a45;
  color:#fff;
  font-size:12px;
  font-weight:850;
  padding:8px 10px;
  letter-spacing:.04em;
}
.wlca-product-value__body strong,
.wlca-product-value__price,
.wlca-product-value__body small{display:block}
.wlca-product-value__body strong{font-size:15px}
.wlca-product-value__price{font-size:14px;margin-top:2px}
.wlca-product-value__price b{color:#075f36}
.wlca-product-value__body small{color:#5d6a63;margin-top:3px;line-height:1.35}
.single-product .wlca-native-cart{
  min-height:52px!important;
  border-radius:14px!important;
  padding:14px 22px!important;
  font-weight:850!important;
  box-shadow:0 9px 24px rgba(17,17,17,.12)!important;
}
.wlca-product-trust{
  display:grid;
  gap:8px;
  margin:16px 0 14px;
}
.wlca-product-trust>div{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid rgba(17,17,17,.08);
  border-radius:14px;
  background:#fff;
}
.wlca-product-trust__icon{
  width:25px;height:25px;flex:0 0 25px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f1f3f2;
  font-size:12px;font-weight:900;
}
.wlca-product-trust strong,.wlca-product-trust small{display:block}
.wlca-product-trust strong{font-size:13px}
.wlca-product-trust small{color:#666;font-size:11.5px;line-height:1.35;margin-top:1px}
.wlca-product-support{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:16px 0 8px;
}
.wlca-product-support__pix,.wlca-product-support__wa{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:14px;
  padding:11px 12px;
  font-weight:800;
  text-decoration:none!important;
  cursor:pointer;
  text-align:center;
}
.wlca-product-support__pix{
  background:#0a7a45;
  color:#fff;
  border:1px solid #0a7a45;
}
.wlca-product-support__pix:hover,.wlca-product-support__pix:focus{background:#075f36;color:#fff}
.wlca-product-support__wa{
  background:#fff;
  color:#148a52!important;
  border:1px solid rgba(20,138,82,.34);
}
.wlca-product-support__wa:hover,.wlca-product-support__wa:focus{background:#f0faf5}
.wlca-real-urgency{
  border-left:4px solid #b85c00;
  background:#fff5e8;
  color:#7a3d00!important;
  padding:10px 12px!important;
  border-radius:10px;
  font-weight:800;
}
.single-product .woocommerce-product-details__short-description{
  line-height:1.65;
}
@media(max-width:720px){
  .wlca-product-value{
    grid-template-columns:1fr;
    padding:13px;
  }
  .wlca-product-value__badge{
    justify-self:start;
  }
  .wlca-product-support{
    grid-template-columns:1fr;
  }
  .single-product div.product .summary{
    padding-left:14px;
    padding-right:14px;
  }
}

/* v0.7 performance */
.wlca{contain:layout paint style;content-visibility:auto}
.wlca-product-trust,.wlca-product-support,.wlca-product-value{contain:layout paint}
@media (prefers-reduced-motion:reduce){
  .wlca,.wlca *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* v0.9: preserve lightweight rendering */
.wlca[data-reason="exit_intent"]{border-color:rgba(184,92,0,.25)}
