/* ONCU_STICKY_WHATSAPP_V1 — public storefront only, no /admin/ asset collision. */
:root {
  --oncu-wa-bottom-bar-height: 56px;
}
/* Reserve space so footer, checkout buttons and the last product card stay tappable. */
body.ot-body {
  padding-bottom: calc(var(--oncu-wa-bottom-bar-height) + env(safe-area-inset-bottom, 0px)) !important;
}
.oncu-wa-sticky,
.oncu-wa-sticky * { box-sizing: border-box; }
.oncu-wa-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  height: calc(var(--oncu-wa-bottom-bar-height) + env(safe-area-inset-bottom, 0px));
  background: #27d951;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 18px rgba(3, 75, 31, .15);
  isolation: isolate;
}
.oncu-wa-sticky__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: var(--oncu-wa-bottom-bar-height);
  min-height: 44px;
  padding: 4px 16px;
  color: #fff;
  font: 700 18px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.oncu-wa-sticky__link:visited { color: #fff; }
.oncu-wa-sticky__link:hover { color: #fff; background: #17c845; }
.oncu-wa-sticky__link:focus-visible { outline: 3px solid #092b1b; outline-offset: -5px; }
.oncu-wa-sticky__icon { flex: 0 0 auto; width: 29px; height: 29px; }
@media (min-width: 768px) {
  :root { --oncu-wa-bottom-bar-height: 52px; }
  .oncu-wa-sticky__link { font-size: 18px; }
}
@media (max-width: 400px) {
  .oncu-wa-sticky__link { font-size: 16px; gap: 9px; }
  .oncu-wa-sticky__icon { width: 25px; height: 25px; }
}
