/* Lead layer: floating WhatsApp button, product sticky bar, article consult box, cross-links, trust line. */
:root { --wa-green: #25d366; --lead-ease: cubic-bezier(.65, 0, .35, 1); }

/* Floating button. Outer = show/hide (transition), inner = entrance (animation). */
.wa-fab { position: fixed; z-index: 60; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity .3s var(--lead-ease), transform .3s var(--lead-ease), visibility 0s; }
.wa-fab.is-away { opacity: 0; transform: translateY(12px) scale(.92); visibility: hidden; pointer-events: none; transition: opacity .3s var(--lead-ease), transform .3s var(--lead-ease), visibility 0s .3s; }
.wa-fab-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--wa-green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px #374b1a40, 0 2px 6px #374b1a26; animation: wa-fab-in .7s var(--lead-ease) 1.2s both; }
.wa-fab-btn svg { width: 30px; height: 30px; }
.wa-fab-btn:hover { transform: scale(1.05); }
.wa-fab-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--wa-green), 0 8px 24px #374b1a40; }
@keyframes wa-fab-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.wa-fab-tip { position: relative; max-width: min(260px, calc(100vw - 32px)); padding: 12px 34px 12px 14px; background: #fff; color: var(--ink, #3e3733); border: 1px solid var(--line, #e1e7d7); border-radius: 16px; box-shadow: 0 12px 25px #44552c1a; font-size: 14px; line-height: 1.4; }
.wa-fab-tip[hidden] { display: none; }
.wa-fab-tip strong { display: block; font-weight: 600; }
.wa-fab-tip span { display: block; margin-top: 2px; font-size: 12px; opacity: .8; }
.wa-fab-tip-close { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none; font-size: 20px; line-height: 1; color: inherit; cursor: pointer; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab.is-away { transition: none; }
  .wa-fab-btn { animation: none; }
}
/* Product pages on phones: the sticky bar takes over. */
@media (max-width: 768px) { body[data-page="product"] .wa-fab { display: none; } }

/* Product sticky bar (phones only). */
.lead-sticky { display: none; }
@media (max-width: 768px) {
  .lead-sticky { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fffffff5; border-top: 1px solid var(--line, #e1e7d7); box-shadow: 0 -8px 24px #374b1a14; backdrop-filter: blur(12px); transform: translateY(0); transition: transform .3s var(--lead-ease), visibility 0s; }
  .lead-sticky.is-away { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--lead-ease), visibility 0s .3s; }
  .lead-sticky-cta { flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px; gap: 10px; font-size: 14px; }
  .lead-sticky-cta svg { width: 20px; height: 20px; flex: none; }
  .lead-sticky-share { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line, #e1e7d7); border-radius: 50%; color: var(--ink, #3e3733); background: #fff; }
  body[data-page="product"] .site-footer::after { content: ""; display: block; height: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .lead-sticky { transition: none !important; } }

/* Article consult box. */
.lead-box { margin: 36px 0; padding: 26px 28px; border: 1px solid var(--line, #e1e7d7); border-radius: var(--panel-radius, 16px); background: var(--cream, #f8f9f6); }
.lead-box h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.lead-box p { margin: 0 0 16px; }
.lead-box-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.lead-box .lead-trust { margin: 14px 0 0; }
.lead-trust { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink, #3e3733); opacity: .75; }
.lead-send-guide, .lead-sticky-cta { gap: 10px; }
.lead-send-guide svg { width: 20px; height: 20px; flex: none; }
.lead-guide { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line, #e1e7d7); }
.lead-guide h2 { font-size: 20px; margin: 0 0 6px; }
.lead-guide p { margin: 0 0 10px; }
.lead-links { padding-top: 20px; }
@media (max-width: 580px) { .lead-box { padding: 20px 18px; } .lead-box-actions .button { width: 100%; } }
.lead-komoditas-send, .lead-care-send { padding-block: 4px 24px; }
.lead-komoditas-send .lead-trust, .lead-care-send .lead-trust { margin-top: 8px; }
