/* Shared finishing touches for calls to action and form controls. */
:root :is(.btn:not(.global-login), .rf button, .admin-actions button, .global-login, .site-footer-login) {
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(18, 27, 69, .14), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

:root :is(.btn.primary, .btn.y, .btn.btn-gold, .rf button, .global-login) {
  background-image: linear-gradient(135deg, #f8d46a 0%, #e8b52f 55%, #ce9617 100%);
  border-color: #d6a528;
  color: #121b45;
}

:root :is(.btn.btn-primary) {
  background-image: linear-gradient(135deg, #277647, #175b31);
  border-color: #175b31;
  color: #fff;
}

:root :is(.icon-btn, .cart-btn, .bg-b, .step button, .var, .faq-q) {
  cursor: pointer;
}

:root :is(.icon-btn, .cart-btn, .bg-b, .step button, .var):hover {
  box-shadow: 0 5px 14px rgba(18, 27, 69, .16);
}

:root .forest .btn.btn-primary {
  background-image: linear-gradient(135deg, #eef5b5, #b8d862);
  border-color: #b8d862;
  color: #14291b;
}

:root :is(.btn:not(.global-login), .rf button, .admin-actions button, .global-login, .site-footer-login):not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 27, 69, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}

:root :is(.btn:not(.global-login), .rf button, .admin-actions button, .global-login, .site-footer-login):not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(18, 27, 69, .18), inset 0 1px 3px rgba(18, 27, 69, .12);
}

:root :is(.btn, .rf button, .admin-actions button, .global-login, .site-footer-login, .icon-btn, .cart-btn, .bg-b, .video-toggle, .var, .faq-q, #qtyMinus, #qtyPlus, #toTop):focus-visible {
  outline: 3px solid #e8b52f;
  outline-offset: 4px;
}

:root :is(.btn, .rf button, .admin-actions button):disabled {
  cursor: not-allowed;
  opacity: .6;
  box-shadow: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  :root :is(.btn:not(.global-login), .rf button, .admin-actions button, .global-login, .site-footer-login) {
    transition: none;
  }
  :root :is(.btn:not(.global-login), .rf button, .admin-actions button, .global-login, .site-footer-login):not(:disabled):hover {
    transform: none;
  }
}
