
/* ========= Front ========= */
.wcwa-sticky{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wcwa-sticky-h, 60px);
  background: var(--wcwa-sticky-bg, #25D366);
  color: var(--wcwa-sticky-color, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  z-index: var(--wcwa-sticky-z, 99999);
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: .2px;
  border-radius: var(--wcwa-sticky-radius, 0px) var(--wcwa-sticky-radius, 0px) 0 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.wcwa-sticky.has-shadow{ box-shadow: 0 -8px 18px rgba(0,0,0,.18); }
.wcwa-sticky.mobile-only{ display:none; }
@media (max-width: 992px){ .wcwa-sticky.mobile-only{ display:flex; } }

.wcwa-float{
  position: fixed;
  bottom: var(--wcwa-float-bottom, 90px);
  width: var(--wcwa-float-size, 56px);
  height: var(--wcwa-float-size, 56px);
  background: var(--wcwa-float-bg, #25D366);
  color: var(--wcwa-float-color, #fff);
  border-radius: var(--wcwa-float-radius, 999px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  z-index: 99998;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.wcwa-float.pos-right{ right: var(--wcwa-float-side, 18px); }
.wcwa-float.pos-left{ left: var(--wcwa-float-side, 18px); }
.wcwa-float.has-shadow{ box-shadow: 0 10px 24px rgba(0,0,0,.22); }

.wcwa-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff2d2d;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  padding:0 6px;
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}

.wcwa-inline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 12px;
  background: #25D366;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700;
}

.wcwa-icon{ display:inline-flex; align-items:center; justify-content:center; line-height:1; }

/* SVG sizes */
.wcwa-sticky .wcwa-icon svg{ width: 22px; height: 22px; }
.wcwa-float .wcwa-icon svg{ width: var(--wcwa-float-icon, 28px); height: var(--wcwa-float-icon, 28px); }
.wcwa-inline .wcwa-icon svg{ width: 18px; height: 18px; }
/* IMG sizes (URL icon mode) */
.wcwa-sticky .wcwa-icon-img{ width: 22px; height: 22px; object-fit: contain; display:block; }
.wcwa-float .wcwa-icon-img{ width: var(--wcwa-float-icon, 28px); height: var(--wcwa-float-icon, 28px); object-fit: contain; display:block; }
.wcwa-inline .wcwa-icon-img{ width: 18px; height: 18px; object-fit: contain; display:block; }

/* ========= SVG color FIX (native) ========= */
.wcwa-sticky .wcwa-icon svg,
.wcwa-float .wcwa-icon svg,
.wcwa-inline .wcwa-icon svg{ fill: currentColor !important; }
.wcwa-sticky .wcwa-icon svg *,
.wcwa-float .wcwa-icon svg *,
.wcwa-inline .wcwa-icon svg *{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Make room for sticky bar on product pages */
body.single-product{ padding-bottom: 76px; }


/* Floating without background */
.wcwa-float.no-bg{
  background: transparent !important;
  box-shadow: none !important;
}
.wcwa-float.no-bg.has-shadow{ box-shadow:none !important; }
