/* ============================================================================
   buy-now.css — the Buy Now button, for product pages that don't already
   carry it in their own <style>.

   The Panamax, Prime and HBE-5G pages define a.buybtn inline because Buy Now
   is the only call to action in their hero. The MikroTik router, Yealink and
   power-supply pages don't: they carry only the site-wide button-height rule
   that names a.buybtn alongside .viewbtn and .btn-outline. This file supplies
   the rest of the look for those pages, deliberately matching the inline
   version so a Buy Now is the same button everywhere on the site.

   It does NOT set height. Every one of those pages already harmonises
   .viewbtn / .btn-outline / a.buybtn to 30px, and a height here would fight
   that rule depending on source order.
   ========================================================================= */

a.buybtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 40px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px var(--blue);
  transition: background .14s, transform .12s, box-shadow .14s;
}

a.buybtn:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px var(--blue);
}

a.buybtn:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 2px;
}

a.buybtn svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* the router pages set their own padding for this row; match it so Buy Now
   sits on the same rhythm as the buttons beside it */
.sw-actions a.buybtn {
  padding: 0 19px;
  gap: 7px;
}

/* the two dark-theme overrides these pages carry flip .viewbtn's label to a
   near-black; Buy Now keeps white on blue in every theme, as it does on the
   pages that style it inline */
:root[data-theme="dark"] a.buybtn,
:root[data-theme="light"] a.buybtn {
  color: #fff;
}
