/* EN site floating WhatsApp CTA */
.bester-wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(18, 140, 66, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bester-wa-float:hover,
.bester-wa-float:focus {
  background: #1ebe57;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(18, 140, 66, 0.45);
}

.bester-wa-float__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.bester-wa-float__label {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .bester-wa-float {
    right: 14px;
    bottom: 16px;
    padding: 12px;
    border-radius: 50%;
  }

  .bester-wa-float__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* ------------------------------------------------------------------
   Equal-size CTA pairs (Contact / Sample + WhatsApp) — all EN pages
   ------------------------------------------------------------------ */
.bester-cta-pair {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: min(36rem, 100%);
  margin-left: auto;
  margin-right: auto;
  position: static !important;
  left: auto !important;
  bottom: auto !important;
}

/* Kill layout.css absolute .btns on card rows */
.row.cards .card-item .btns.bester-cta-pair,
.about-cta-block .btns.bester-cta-pair,
.card-item.with-btn .btns.bester-cta-pair,
.prod-contact-card .btns.bester-cta-pair {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  margin: 1.25rem auto 0 !important;
  width: 100%;
  max-width: 26rem;
}

/*
 * Equal columns: flex + min-width:0 overrides .btn { min-width:168px }
 * and default flex min-width:auto (content length).
 */
.bester-cta-pair > .btn,
.bester-cta-pair > a.btn,
.bester-cta-pair > .bester-wa-beside,
.bester-cta-pair > .nom-btn:not(.nom-btn--ghost),
.bester-cta-pair > .trigger-sample-btn,
.bester-cta-pair > button[data-sample-request] {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  margin: 0 !important;
  padding: 0 0.75rem !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  border-radius: 999px !important;
  border-width: 2px !important;
  border-style: solid !important;
  text-decoration: none !important;
}

/* Mid-article sample triggers often carry inline blue styles — normalize in pair */
.bester-cta-pair > .trigger-sample-btn {
  background: #005a94 !important;
  color: #fff !important;
  border-color: #005a94 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer;
}

.bester-cta-pair > .nom-btn--ghost {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 50px !important;
  max-height: 50px !important;
}

/* WhatsApp sibling — match Contact height/width; override base .bester-wa-beside */
.bester-cta-pair > .bester-wa-beside {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 700 !important;
}

.bester-cta-pair > .bester-wa-beside:hover,
.bester-cta-pair > .bester-wa-beside:focus {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
  color: #fff !important;
  transform: none;
}

.bester-cta-pair > .btn-outline,
.card-item.with-btn.green .bester-cta-pair > .btn-outline {
  background: #fff !important;
  color: #005a94 !important;
  border-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.bester-wa-beside__icon {
  width: 1.1rem !important;
  height: 1.1rem !important;
  flex-shrink: 0;
}

/* Standalone WA link (not in a pair) — keep original look */
a.bester-wa-beside:not(.bester-cta-pair > .bester-wa-beside):not(.bester-wa-beside--ghost-inline) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.875rem 1.35rem;
  border-radius: 999px;
  background: #25d366;
  border: 2px solid #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(18, 140, 66, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

a.bester-wa-beside:not(.bester-cta-pair > .bester-wa-beside):not(.bester-wa-beside--ghost-inline):hover,
a.bester-wa-beside:not(.bester-cta-pair > .bester-wa-beside):not(.bester-wa-beside--ghost-inline):focus {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(18, 140, 66, 0.4);
}

.bester-wa-beside--sm {
  padding: 0.55rem 1rem !important;
  font-size: 0.875rem !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.bester-wa-beside--ghost-inline {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #128c37 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: auto !important;
  flex: 0 0 auto !important;
  text-transform: none !important;
}

.bester-wa-beside--ghost-inline:hover {
  background: none !important;
  transform: none;
  box-shadow: none !important;
  color: #0b6b2a !important;
}

.bester-wa-beside--ghost-inline .bester-wa-beside__icon {
  display: none;
}

/* Product mobile sticky bar */
.prod-mobile-cta-bar .bester-cta-pair {
  display: flex !important;
  width: 100%;
  max-width: none;
  gap: 0.5rem;
  margin: 0;
}

.prod-mobile-cta-bar .bester-cta-pair > .btn,
.prod-mobile-cta-bar .bester-cta-pair > .bester-wa-beside {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  font-size: 0.8125rem !important;
  padding: 0 0.5rem !important;
}

@media (max-width: 991.98px) {
  body:has(.prod-mobile-cta-bar) .bester-wa-float {
    bottom: 88px;
  }
}

@media (max-width: 575.98px) {
  .bester-cta-pair {
    max-width: 100%;
  }
}
